View Full Version : Current folder

09-26-2003, 03:28 AM

Is there a way to detect whether a setup is started using the 'Add/Remove Programs' dialog or using setup.exe ?

Is there a way in InstallShield to retrieve the current folder, other than using SRCDIR ? When the setup is started using the 'Add/Remove Programs' I would like to retrieve the current folder (e.g. 'C:\Program Files\InstallShield Installation Information\{F886AEF0-7FA5-11A5-9W14-0008CG6988DA}')

Thanks in advance !

09-26-2003, 01:13 PM
Please visit the following KB link to check if the setup is started using 'Add/Remove Programs' dialog :


To retrieve the folder when the setup is being run from Add/Remove Programs, you can use the variable DISK1TARGET. Please search the help library with the keyword "DISK1TARGET" for more information about this variable.