cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
MrInstall47
Flexera beginner

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.
Labels (1)
0 Kudos
2 Replies
ElenaN
Pilgrim

Re: Files going into wrong folder when destination folder changed

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?
0 Kudos
Reureu
Pilgrim

Re: Files going into wrong folder when destination folder changed

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?
0 Kudos