cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
ralphster
Level 6

How to get remove the file name from PACKAGE_LOCATION ?

Jump to solution

Using InstallShield script I am able to find the path where the current setup.exe is being executed from. However PACKAGE_LOCATION includes not only the path, but it includes the name of the setup.exe file. Is there a command which will just return the path without the file name? All I need is the path so how to remove the filename is what I need to find out. 

Example:

strPathName = PACKAGE_LOCATION; // This works but it includes the name of the exe at the
end of the path. 

Example: C:\InstallDirForMyProduct\Setup.exe

Labels (1)
0 Kudos
(1) Solution
(1) Reply