Mar 06, 2013
02:27 PM
Issue Resolved. Turns out it was the SourceDir property needing double quotes (") around it. I certainly have that noted for the future.
... View more
Mar 06, 2013
12:11 PM
Hello all, I have just taken over the position of installation engineer within my company. I am rather new at this, but I have taken to it pretty well thus far. Right now, I am having difficulty grabbing the SETUPEXEDIR or PACKAGE_LOCATION in order to truncate the path (to get the parent directory) and set the result as a property. Using all of the methods I have found here and elsewhere I seem to only be able to get a null value. Is there a different System Property that I should be using instead, or is it something with my code? function GetServerPath(hMSI) STRING szPath, szReturnString; NUMBER nvBuffer; begin nvBuffer = 256; MsiGetProperty(hMSI, SourceDir, szPath, nvBuffer); StrRemoveLastSlash (szPath); ParsePath (szReturnString, szPath, PATH); MsiSetProperty (hMSI, "SERVERSHORTCUTPATH", szReturnString); end;
... View more
Labels
- Labels:
-
InstallShield 2012 Spring
Latest posts by Brogers2112
Subject | Views | Posted |
---|---|---|
643 | Mar 06, 2013 02:27 PM | |
1875 | Mar 06, 2013 12:11 PM |
Activity Feed
- Posted Re: BasicMSI project and using Installscript to grab the SetupExe Directory on InstallShield Forum. Mar 06, 2013 02:27 PM
- Posted BasicMSI project and using Installscript to grab the SetupExe Directory on InstallShield Forum. Mar 06, 2013 12:11 PM
- Tagged BasicMSI project and using Installscript to grab the SetupExe Directory on InstallShield Forum. Mar 06, 2013 12:11 PM
- Tagged BasicMSI project and using Installscript to grab the SetupExe Directory on InstallShield Forum. Mar 06, 2013 12:11 PM
- Tagged BasicMSI project and using Installscript to grab the SetupExe Directory on InstallShield Forum. Mar 06, 2013 12:11 PM
- Tagged BasicMSI project and using Installscript to grab the SetupExe Directory on InstallShield Forum. Mar 06, 2013 12:11 PM