/build/static/layout/Breadcrumb_cap_w.png

Replay active setup

Hello,

I need your help to create a CA that replay the active setup. I explain:

- I install an MSI package with active setup was set, the installation works.

- When a user login his session, the active setup (msiexec /fup {productcode} /qn) is playing, but an condition of the msi package is not realised (this is an exemple).

So, this CA must detect the msi error and replay the active setup on the next openning session of this user.

Must we delete the active setup in the HKCU inthis CA?

0 Comments   [ + ] Show comments

Answers (7)

Posted by: anonymous_9363 13 years ago
Red Belt
0
It would be considerably less trouble to condition the CA, wouldn't it?
Posted by: thales78 13 years ago
Senior Yellow Belt
0
I think, i haven't correctly explain my probleme.

I just want to replay the active setup as long as the msi package was correctly installed.
Posted by: thales78 13 years ago
Senior Yellow Belt
0
I have found the solution, just create a CA in rollback execution and delete de "Version" value in the HKCU active setup if the msi package wasn't correctly repaired.

Thx VBScab to reply.
Posted by: thales78 13 years ago
Senior Yellow Belt
0
So, create a CA in rollback execution and delete de "Version" value in the HKCU active setup, doesn't work because Active Setup modify the HKCU "Version" value after the end of the running msi....

Else i put a vbs in the RUN to make this control and modify the HKCU "Version" value. But that isn't so clean.

If anyone have a solution, i really appreciate.
Posted by: pjgeutjens 13 years ago
Red Belt
0
Why not have the MSI put the msiexec command in the RUN key under HKCU (through ActiveSetup)and then have a CA at the end of the MSI's execute sequence that removes it, conditioned "Installed", so the remove doesn't run on the initial installation?
Posted by: thales78 13 years ago
Senior Yellow Belt
0
Thanks replying, i test this tomorrow, and i send a return.
Posted by: thales78 13 years ago
Senior Yellow Belt
0
Finally, I can't wait tomorrow and i just finish to try it, and it's work!!

Thank's a lot pjgeutjens.
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