Jump to content


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.
Photo

Setting Shortcut Arguments with Property


2 replies to this topic

JackH

JackH
  • Full Members
  • 6 posts

Posted 02 May 2007 - 07:25

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

Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

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.

JackH

JackH
  • Full Members
  • 6 posts

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