I have a shortcut defined with Arguments = [MYARGS]. I set MYARGS in a VBScript custom action that always executes. Everything works as expected, except when running in Repair mode. In Repair, the value in MYARGS is ignored, and the shortcut Arguments value is left empty. I'm sure that MYARGS is getting set properly, even in Repair mode, because I can display it in a message box.
As a newbie, I'm sure that I'm missing something simple, but could really use a pointer to where to look.
TIA
Regards - Jack H
This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Setting Shortcut Arguments with Property
Started by
JackH
, May 02 2007 07:25
2 replies to this topic
Posted 03 May 2007 - 16:53
Maybe a verbose log file (ideally created with MSI 3.1 or above as this logs proeprty changes) will help you to find the problem.
Stefan Krüger
InstallSite.org twitter facebook
Posted 04 May 2007 - 02:17
Thanks Stefan,
That did it. In Repair mode, the MYARGS property was ignored ("Ignoring disallowed property"). I had to add it to SecureCustomProperties.
Jack H
That did it. In Repair mode, the MYARGS property was ignored ("Ignoring disallowed property"). I had to add it to SecureCustomProperties.
Jack H