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

How to pass value of variable FROM script TO shortcut table


3 replies to this topic

suvidha

suvidha
  • Members
  • 72 posts

Posted 12 June 2001 - 03:37

I called 'RegDBGetKeyValueEx()' in a function, to read a value (path to javaw.exe in my case) of a key, from registry. Till here it works fine and I am getting the value in a variable 'svpathName'.

Now, i need to put this path in
TARGET column of shortcut.

I need to do something like:
[svpathName]\bin\javaw.exe

How can i pass the value of a variable from script to the shortcut table?



suvidha

suvidha
  • Members
  • 72 posts

Posted 12 June 2001 - 04:31

I am using Installshield Professional Edition Windows Installer 2.0.

(i know that in Installshield6.0 we use a function called TextSub() for this job, do we have anythig of this sort in
IPW 2.0?)


SteveP

SteveP
  • Members
  • 126 posts

Posted 12 June 2001 - 21:11

Passing values into the MSI database is non-trivial.  You may want to choose to create your shortcut in script and populate it there.  Then your CA can deploy the shortcut.

Thomas OD

Thomas OD
  • Members
  • 48 posts

Posted 26 July 2001 - 10:34

hi Steve,
could you elaborate, please? i don't really understand what do you mean with 'populate it there and then your CA can deploy it' ...
Regards,