/build/static/layout/Breadcrumb_cap_w.png

Self Repair - Change parameters??

Hi everyone!

Does anyone know if there is any way to change the parameters running when Windows Installer repairs a package?

We deploy packages using SMS-server, running it with parameter /q, so the user don't see any UI.
Some applications are self repairing settings in for example HKCU, but when the package self repairs some users keeps pressing "Cancel" in the Windows Installer process.

Some applications are not working at at all if they don't get repaired, and the annoyed users starts calling the helpdesk, yelling about there applications that not work.

Any ideas if there is any way to change the command line parameters?

/Jonas

0 Comments   [ + ] Show comments

Answers (2)

Posted by: WiseUser 18 years ago
Fourth Degree Brown Belt
3
Great question!! Well worth the two points I just awarded it.

I would use the "Message" method of the "Session" object.

Embed the following VBScript at the very top (beginning) of the "InstallExecuteSequence" ("Execute Immediate").

Dim oRecord

Const msiMessageTypeCommonData = 184549376

Set oRecord = Installer.CreateRecord(2)

With oRecord

.IntegerData(1) = 2
.IntegerData(2) = 0

End With

Message msiMessageTypeCommonData, oRecord

Set oRecord = Nothing
Posted by: jonasm 18 years ago
Blue Belt
0
Thank you very much for your reply, 2 points for you too!

Now when I got your advice, I found a MS-article about it at: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/msi/setup/hiding_the_cancel_button_during_an_installation.asp

Thanks again!

/Jonas
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