cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
rune_paulsen
Level 5

Error using BrowseFolder in SUIT-Error 1606.

I have created a small Suit, just including one small MSI as a MSI package

I have added the BrowseFolder Wizard to the Wizard pages.

Else, everything is default settings.

When i run the Suit installer, i get this error message.

---------------------------
SmallSuite - InstallShield Wizard
---------------------------
Package SmallTest Error:

Error 1606.Could not access network location [ProgramFilesFolder]SmallTest.
---------------------------
Retry Cancel
---------------------------

If i use the change button in the Destination dialog, and choose the Program files folder, the installation work correctly.

The small msi installer work without any problem as a standalone installer.

And the suit installer work correctly before i added the BrowseFolder dialog.

What could be wrong with the Suit?
Labels (1)
0 Kudos
2 Replies
MichaelU
Level 12 Flexeran
Level 12 Flexeran

This is caused by one of the gaps in our IDE. There's an underlying attribute on every property which defaults to false. However if you want to use a value like you show - [ProgramFilesFolder]Test - which references another property, you need to close the project and set FormatPropertyValue="yes" on the property you use with BrowseFolder (and more importantly which you use with your MSI's command line). This will cause it to turn into (and pass) a value such as C:\Program Files\Test.
0 Kudos
rune_paulsen
Level 5

Thanks for the quick replay.

My ISInstallDir Property did not have any FormatPropertyValue.

I added the FormatPropertyValue="yes" to my suit xml file.

Its working correctly now 🙂

Regards,
Rune
0 Kudos