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
- :
- Files going into wrong folder when destination folder changed
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
‎Sep 28, 2012
08:44 AM
Files going into wrong folder when destination folder changed
Project Type: Basic MSI
Issue: Files going into wrong folder when destination folder changed
Our product needs to have files deployed into separate folders.
For some components, destination is: {BIN1}[INSTALLDIR]Bin
For some components, destination is: {FIXSTORE}[INSTLLDIR]Fixstore
At one of our customer site, changed the destination folder(INSTALLDIR) from C:\Program Files\TheBooks\ to D:\TheBooks\
BIN1 property gets updated and files get copied correctly. FIXSTORE property is not updated to D:\TheBooks\FixStore\, it’s still pointing to C:\Program Files\TheBooks\FixStore\ and the files are going into wrong destination folder.
Here is the extract from log file where FIXSTORE property value is still 'C:\Program Files\TheBooks\FixStore'
MSI (c) (5C:38) [12:22:53:013]: PROPERTY CHANGE: Adding ROOTDRIVE property. Its value is 'D:\'.
…..
…..
MSI (c) (5C:38) [12:22:53:028]: PROPERTY CHANGE: Adding FIXSTORE property. Its value is 'C:\Program Files\TheBooks\FixStore'.
MSI (c) (5C:38) [12:22:53:028]: PROPERTY CHANGE: Adding BIN1 property. Its value is 'D:\TheBooks\Bin'.
Attached is the log file for reference. Please let us know why the FIXSTORE property was not getting updated when the INSTALLDIR property changed. Thank you.
Issue: Files going into wrong folder when destination folder changed
Our product needs to have files deployed into separate folders.
For some components, destination is: {BIN1}[INSTALLDIR]Bin
For some components, destination is: {FIXSTORE}[INSTLLDIR]Fixstore
At one of our customer site, changed the destination folder(INSTALLDIR) from C:\Program Files\TheBooks\ to D:\TheBooks\
BIN1 property gets updated and files get copied correctly. FIXSTORE property is not updated to D:\TheBooks\FixStore\, it’s still pointing to C:\Program Files\TheBooks\FixStore\ and the files are going into wrong destination folder.
Here is the extract from log file where FIXSTORE property value is still 'C:\Program Files\TheBooks\FixStore'
MSI (c) (5C:38) [12:22:53:013]: PROPERTY CHANGE: Adding ROOTDRIVE property. Its value is 'D:\'.
…..
…..
MSI (c) (5C:38) [12:22:53:028]: PROPERTY CHANGE: Adding FIXSTORE property. Its value is 'C:\Program Files\TheBooks\FixStore'.
MSI (c) (5C:38) [12:22:53:028]: PROPERTY CHANGE: Adding BIN1 property. Its value is 'D:\TheBooks\Bin'.
Attached is the log file for reference. Please let us know why the FIXSTORE property was not getting updated when the INSTALLDIR property changed. Thank you.
2 Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Oct 08, 2012
08:15 AM
The only thing I can think of: check Directory table in the Direct Editor – is there any difference between BIN1 and FIXSTORE folders in Directory_Parent column?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Oct 15, 2012
05:44 AM
For some components, destination is: {BIN1}[INSTALLDIR]Bin
For some components, destination is: {FIXSTORE}[INSTLLDIR]Fixstore
- Are these components in different features?
- What is the destination directory of these features (see the "Features" view of your Basic MSI project).
- Do you allow the user to select which features are installed?
If you do, make sure that all features' destinations are set to INSTALLDIR.
See http://msdn.microsoft.com/en-us/library/windows/desktop/aa368585%28v=vs.85%29.aspx, especially the description of the "Directory_" column.
Does that help?
