How can I get disk image's path?
Posted 07 February 2006 - 03:15
Example: my disk image's WANPatch.exe and has been put at D:\ABC\XYZ
Please help me.
Posted 07 February 2006 - 03:30
Posted 07 February 2006 - 05:52
When I execute WINPatch.exe, IntallShield will decompress it into files such as: Setup.exe, setup.iss, data1.cab, ... and move them to C:\Documents and Settings\Administrator\Local Settings\Temp\pft23.tmp\Disk1 and SCRDIR contains the path instead of WINPatch.exe's path. Is it possible to get WINPatch.exe's path?
Posted 07 February 2006 - 14:42
In that case though, I don't know how to get that true source location of the disk image short of doing a search on the whole file system -or- having you abandon a single-disk image for packaging your setup. There's also the possible problem of that source location not being writable.
Therefore, my suggestion is you use an alternative location such as the system variable WINDIR or the supporting uninstall directory of PROGRAMFILES\InstallShield Installation Information\PRODUCT_GUID.
Posted 07 February 2006 - 19:03
Posted 08 February 2006 - 00:28
Thereore, I'll also see about adding this to the FAQ since it's such a popular question.
Edited by Taco Bell, 08 February 2006 - 00:47.