- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Re: INSTALLDIR - does the location exist or will be created
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
INSTALLDIR - does the location exist or will be created
Hi all,
Once the user specified the install location (INSTALLDIR) I want to know if that location already exists or not.
But once the user specifies the location in 'Specify Destination Location' dialog, and before I get a chance to check if it exists or not, InstallShield goes ahead and creates the install location. How do I find out if that location existed or was created by Installshield.
thanks.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Which type of project are you using? Basic Msi?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Hi,
I am using InstallScript MSI project.
thanks.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Hi,
how do call the "Specify destionation location" dialog? Which function do you use?
I'm not 100% familiar with InstallScript (MSI) projects as I'm using 100% of the time Basic MSI installations but when I look into the help, there is a function SdAskDestPath(2) that you can call, and when you click browse within this dialog, the SelectDir function is called where you can specify if the selected directory needs to be created automatically or not.
Don't know if this answers your question?
![](/skins/images/7DF1852B2C95702E61A73F170B191DAC/responsive_peak/images/icon_anonymous_message.png)