PDA

View Full Version : Current folder



froeser
09-26-2003, 03:28 AM
Hi,

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 !

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

http://support.installshield.com/kb/view.asp?articleid=q104327

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.