I am using InstallShield for Windows Installer 1.52.
In my scripting I have these lines of code:
szMsg = TARGETDIR ;
MessageBox ("|" + szMsg + "|",INFORMATION);
When it gets run, the message box shows: "||"
I have the script run in the execute sequence after LaunchConditions.
Am I missing something?
Thanks,
-Mike
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.
why is TARGETDIR returning blank
Started by
mtg82814
, May 30 2002 16:40
2 replies to this topic
Posted 30 May 2002 - 17:26
Ok, I answered my own question:
nvSize = 256;
MsiGetProperty(hMSI, "INSTALLDIR", szInstallFolder, nvSize);
although MsiGetProperty is not in the InstallScript help pages.
nvSize = 256;
MsiGetProperty(hMSI, "INSTALLDIR", szInstallFolder, nvSize);
although MsiGetProperty is not in the InstallScript help pages.
Posted 31 May 2002 - 00:15
The InstallShield help file only documents the InstallShield specific stuff. All of the Msi functions are documented in a seperate help file, Msi.chm, which is a Microsoft help file.
You'll get used to searching across a couple of help files.
You'll get used to searching across a couple of help files.