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
- :
- suite unable to expand [ProgramFilesFolder]
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
‎Nov 23, 2011
05:58 AM
suite unable to expand [ProgramFilesFolder]
Hi,
I am using suite installation. In it i am having one msi which is built in visual studio and it will have the default directory set from TARGETDIR and not INSTALLDIR and in the suite if TARGETDIR is set to some formatted text such as [ProgramFilesFolder] it wont expand. Its giving error unable to locate [ProgramFilesFolder]
Please let me know why this is suite unable to expand [ProgramFilesFolder] here
I am using suite installation. In it i am having one msi which is built in visual studio and it will have the default directory set from TARGETDIR and not INSTALLDIR and in the suite if TARGETDIR is set to some formatted text such as [ProgramFilesFolder] it wont expand. Its giving error unable to locate [ProgramFilesFolder]
Please let me know why this is suite unable to expand [ProgramFilesFolder] here
(3) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 23, 2011
02:35 PM
Can you clarify what you've attempted here? I would expect specifying an install operation's command line to include something like TARGETDIR="[ProgramFilesFolder]Company\App" or even TARGETDIR="[ISInstallDir_PackageName]" to work. A debuglog should help clarify. Correspondingly, I would expect trying to put that in your MSI package to fail, and I'm not sure which you might have tried.
The one trick here is if you use the second construct with a default value, then the property needs an attribute on it: FormatPropertyValue="yes". This setting is not available in the IDE, but you can add it in the project .xml file. It is set by default if you use the User Interface Wizard.
The one trick here is if you use the second construct with a default value, then the property needs an attribute on it: FormatPropertyValue="yes". This setting is not available in the IDE, but you can add it in the project .xml file. It is set by default if you use the User Interface Wizard.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 24, 2011
12:44 AM
i am specifying the install's command line to TARGETDIR="[ISInstallDir_Setup]"
and i am was getting the error Could not access network location [ProgramFileFolder] (see the attachment)
The value is set in the PropertyManager for ISInstallDir_Setup to [ProgramFileFolder]
I had added the attribute FormatPropertyValue="yes" to the property tag (by defalut is was not there and i was using the user interface wizard, Predefined task page - Browse for installation folder, to create a destination folder dialog) it got working.
Thank you
and i am was getting the error Could not access network location [ProgramFileFolder] (see the attachment)
The value is set in the PropertyManager for ISInstallDir_Setup to [ProgramFileFolder]
I had added the attribute FormatPropertyValue="yes" to the property tag (by defalut is was not there and i was using the user interface wizard, Predefined task page - Browse for installation folder, to create a destination folder dialog) it got working.
Thank you
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 12, 2012
04:16 AM
MichaelU wrote:
Can you clarify what you've attempted here? I would expect specifying an install operation's command line to include something like TARGETDIR="[ProgramFilesFolder]Company\App" or even TARGETDIR="[ISInstallDir_PackageName]" to work. A debuglog should help clarify. Correspondingly, I would expect trying to put that in your MSI package to fail, and I'm not sure which you might have tried.
The one trick here is if you use the second construct with a default value, then the property needs an attribute on it: FormatPropertyValue="yes". This setting is not available in the IDE, but you can add it in the project .xml file. It is set by default if you use the User Interface Wizard.
Thanks Michel !!! This was really helpfull !!