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

Resolve SRCDIR correctly in basic ui /qb mode


1 reply to this topic

irajoo

irajoo
  • Members
  • 2 posts

Posted 26 July 2002 - 09:44

IS Developer 7.0 SP4 (Win2k)
I have created an msi wrapper using Installshield Developer Basic MSI project which has a custom action which calls the InstallScript Code function LaunchAppAndWait to call the Setup.exe for Adobe Acrobat 5.0 installer built using InstallShield Professional 5.x (Supplied by Adobe).
I am supplying the value SRCDIR^"Setup.exe" to Program argument of the LaunchAppAndWait function to specify the location of the Setup.exe. During Full/default UI mode the MSI executes fine and the installation is successfull. However when I use the Basic UI mode i.e. "msiexec app.msi /qb" the SRCDIR variable resolves to a location under the system temp folder and not the location of the MSI. I have tried adding a ResolveSource custom action in the Execute Sequence before the script action but it still does not work.

Question: How do I get the SRCDIR to resolve correctly under Basic UI /qb mode?

Eternally Grateful,
Ilangkovan Rajoo

JTrippe

JTrippe
  • Members
  • 7 posts

Posted 06 September 2002 - 13:01

Did you try
MsiGetProperty(hMSI,"SourceDir", ...
in your CA ?

Is your CA really executed after the ResolveSouce action (deferred ?).