/build/static/layout/Breadcrumb_cap_w.png

Self-heal turns app from registered to 30-Day Eval.

It took a little while to configure the install for SnagIT v9 and get it registered. In testing of the self-healing of the MSI, once it repairs itself, the registered app turns into a 30- Day Eval app.

Any ideas?

0 Comments   [ + ] Show comments

Answers (6)

Posted by: MSIPackager 15 years ago
3rd Degree Black Belt
1
This is not removing the CA, just removing the call to it.. don't see how that's any different to setting an impossible to meet condition.

I'd prefer removing from InstallExecuteSequence it as it's more obvious to anyone looking at the package later - although good documentation should always cover this stuff of course!

Cheers,
Rob.
Posted by: manicrevol 15 years ago
Senior Yellow Belt
0
Hi,

I haven't seen the msi for this but I'm guessing a custom action is resetting all the registration information. Not sure if it's kept in a file or registry key. You might try putting a condition on the CA if this is the case.
Posted by: Trooper23 15 years ago
Orange Belt
0
Hey thanks for the reply.

Right I did find the component that is resetting the registry to NULL. I put the condition to TSC_WRITEREGKEY AND NOT PATCH that didn't work then TSC_WRITEREGKEY AND NOT Installed OR REMOVE~="ALL" but is still patching.
Posted by: MSIPackager 15 years ago
3rd Degree Black Belt
0
Why can't you just stop the custom action from being executed at all be removing it from the InstallExecuteSequence table?

Cheers,
Rob.
Posted by: anonymous_9363 15 years ago
Red Belt
0
I don't like removing CAs from vendor MSIs. I generally advise using an impossible-to-meet condition instead, something like 'If 0=1' is about as impossible-to-meet as I can think of.
Posted by: Trooper23 15 years ago
Orange Belt
0
Finally figured it out Monday afternoon. I don’t like deleting CA’s from the vendor either.

A property called CURRENTUSER had a value of XxxXxxXxxXxx. So I changed the value to my company name. Created a CA called CURRENTUSER gave it a, type 51, source CURRENTUSER and target my company name.

Then added a entry in InstallExecuteSeq behind the WriteRegistryValues, then added the condition for WriteIniValues NOT Installed and it worked.

The app runs “registered” from looking at the REGINFO.INI for a company name. When selfheal runs it blanks the registry and writes a blake or deletes the company name from a line called CURRENTUSER in a file called REGINFO.INI in AllUsers%\AppData\app folder.

Thank you everyone that replied and for the ideas!
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ