This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Re: Equivalent to AskPath in Basic MSI
Subscribe
- 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
‎Dec 03, 2007
10:57 AM
Equivalent to AskPath in Basic MSI
Hi
I moved from InstallScript to basic msi and I want to use one of it's dialog to enable the user to browse to directory on the local machine or shared directory on another machine ( I don't want to install the setup to UNC path but copy several files using install script to this location) instead of the AskPath function but couldn’t find suitable one
Since the AskPath dialog enable UNC path ( \\\) and InstallChangeFolder dialog doesn't ( I get error 2330 )
Any Suggestions ?
I moved from InstallScript to basic msi and I want to use one of it's dialog to enable the user to browse to directory on the local machine or shared directory on another machine ( I don't want to install the setup to UNC path but copy several files using install script to this location) instead of the AskPath function but couldn’t find suitable one
Since the AskPath dialog enable UNC path ( \\
Any Suggestions ?
(3) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Dec 03, 2007
11:40 AM
You should be able to include the DestinationFolder dialog in your project (which launches the InstallChangeFolder dialog). The simplest method for doing this is to go to Project Assistant->Installation Interview and select Yes for the question "Do you want your users to be able to modify the installation location of your application". If you would like the DestinationFolder dialog to change some other folder path besides INSTALLDIR, replace any INSTALLDIR references on the dialog and dialog control events with the Directory table entry needed.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Dec 04, 2007
06:48 AM
The problem is that the InstallChangeFolder dialog doesn't accept UNC path...
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Dec 04, 2007
09:35 AM
I'm able to successfully enter a UNC path in the "Folder path" field on the InstallChangeFolder dialog. After clicking OK, INSTALLDIR is updated to the UNC path I had entered.
Is there some other behavior or errors you are seeing when trying this?
Is there some other behavior or errors you are seeing when trying this?