Source is root dir of msi, no matter what I do.
ok I have a problem which normally isn't a problem.
I have a Wise msi, that I am creating a mst via Installshield.
When I add a new folder in INSTALLDIR and place an uncompressed file in the new folder... IS will automatically create the source folders (path) and place the uncompressed file in the proper folder aka program files\IPC\GeoMobile\Workstation\NEWFOLDER
Though when I run the msi, it complains that it can't find the file, looking to the same dir as the msi was run from. Normally this isn't a big deal, I just move the file out of the uncompressed folders/source structure IS creates. (I usually prefer it this way actually, no long empty uncompressed folder structure just for 1 file)
But in this case though I am trying to create different source dirs, for 6 versions of the same file, which only 1 will be installed based on public property. Which as you can guess I can't have 6 files of the same name in the same dir.
I have tried modifying the Directory Table using the TARGET:SOURCE feature, but this Source is root behavior seems to trump anything I try and configure, even down to the above simple create new folder and file.
Anyone have an idea???? On why some msi strictly follow Source paths and some just ignore them and use the root location where the msi was run from?
Here is a spreadsheet of the Directory Table (my custom folder is HC_3RIVERS):
https://spreadsheets.google.com/spreadsheet/ccc?key=0AgeNmLJ8fPz5dElIeXBBNWRHc1l1UE4xUU5UNlRUQUE&hl=en_US
I will get a log and post it as well... Thanks
I have a Wise msi, that I am creating a mst via Installshield.
When I add a new folder in INSTALLDIR and place an uncompressed file in the new folder... IS will automatically create the source folders (path) and place the uncompressed file in the proper folder aka program files\IPC\GeoMobile\Workstation\NEWFOLDER
Though when I run the msi, it complains that it can't find the file, looking to the same dir as the msi was run from. Normally this isn't a big deal, I just move the file out of the uncompressed folders/source structure IS creates. (I usually prefer it this way actually, no long empty uncompressed folder structure just for 1 file)
But in this case though I am trying to create different source dirs, for 6 versions of the same file, which only 1 will be installed based on public property. Which as you can guess I can't have 6 files of the same name in the same dir.
I have tried modifying the Directory Table using the TARGET:SOURCE feature, but this Source is root behavior seems to trump anything I try and configure, even down to the above simple create new folder and file.
Anyone have an idea???? On why some msi strictly follow Source paths and some just ignore them and use the root location where the msi was run from?
Here is a spreadsheet of the Directory Table (my custom folder is HC_3RIVERS):
https://spreadsheets.google.com/spreadsheet/ccc?key=0AgeNmLJ8fPz5dElIeXBBNWRHc1l1UE4xUU5UNlRUQUE&hl=en_US
I will get a log and post it as well... Thanks
0 Comments
[ + ] Show comments
Answers (9)
Please log in to answer
Posted by:
dandirk
13 years ago
Ok below is part of the log, I have added a link to the full one to.
So the SourceDir is set to the folder where the msi was run from, for all files. Still trying to figure out how to correct and specify a source.
https://docs.google.com/document/d/1FqHmmzJScq3Id7uB6lrrOCunZt-ulvAIG6-48Wjobx0/edit?hl=en_US
So the SourceDir is set to the folder where the msi was run from, for all files. Still trying to figure out how to correct and specify a source.
https://docs.google.com/document/d/1FqHmmzJScq3Id7uB6lrrOCunZt-ulvAIG6-48Wjobx0/edit?hl=en_US
00971: (Server): MSI (s) (DC:0C) [09:58:43:790]: Resolving source.
00972: (Server): MSI (s) (DC:0C) [09:58:43:790]: Resolving source to launched-from source.
00973: (Server): MSI (s) (DC:0C) [09:58:43:790]: Setting launched-from source as last-used.
00974: (Server): MSI (s) (DC:0C) [09:58:43:790]: PROPERTY CHANGE: Adding SourceDir property. Its value is 'C:\Documents and Settings\bte400\Desktop\Final\'.
00975: (Server): MSI (s) (DC:0C) [09:58:43:790]: PROPERTY CHANGE: Adding SOURCEDIR property. Its value is 'C:\Documents and Settings\bte400\Desktop\Final\'.
00976: (Server): MSI (s) (DC:0C) [09:58:43:790]: PROPERTY CHANGE: Adding SourcedirProduct property. Its value is '{8DE41E83-C3EE-472E-8D50-195F52F08EAF}'.
00977: (Server): MSI (s) (DC:0C) [09:58:43:790]: SOURCEDIR ==> C:\Documents and Settings\bte400\Desktop\Final\
00978: (Server): MSI (s) (DC:0C) [09:58:43:790]: SOURCEDIR product ==> {8DE41E83-C3EE-472E-8D50-195F52F08EAF}
00979: (Server): MSI (s) (DC:0C) [09:58:43:790]: Determining source type
00980: (Server): MSI (s) (DC:0C) [09:58:43:790]: Source type from package 'gmw-2.8.15.msi': 2
00981: (Unknown): Action start 9:58:43: ProcessComponents.
00982: (Server): MSI (s) (DC:0C) [09:58:43:790]: Source path resolution complete. Dumping Directory table...
00983: (Server): MSI (s) (DC:0C) [09:58:43:790]: Dir (source): Key: TARGETDIR , Object: C:\Documents and Settings\bte400\Desktop\Final\ , LongSubPath: , ShortSubPath:
00984: (Server): MSI (s) (DC:0C) [09:58:43:790]: Dir (source): Key: CommonAppDataFolder , Object: C:\Documents and Settings\bte400\Desktop\Final\ , LongSubPath: Application Data\ , ShortSubPath: APPLIC~1\
00985: (Server): MSI (s) (DC:0C) [09:58:43:790]: Dir (source): Key: LocalAppDataFolder , Object: C:\Documents and Settings\bte400\Desktop\Final\ , LongSubPath: Application Data\ , ShortSubPath: APPLIC~1\
00986: (Server): MSI (s) (DC:0C) [09:58:43:790]: Dir (source): Key: WWWROOT , Object: C:\Documents and Settings\bte400\Desktop\Final\ , LongSubPath: wwwroot\ , ShortSubPath:
00987: (Server): MSI (s) (DC:0C) [09:58:43:790]: Dir (source): Key: MyPicturesFolder , Object: C:\Documents and Settings\bte400\Desktop\Final\ , LongSubPath: My Pictures\ , ShortSubPath: MYPICT~1\
00988: (Server): MSI (s) (DC:0C) [09:58:43:790]: Dir (source): Key: WindowsFolder , Object: C:\Documents and Settings\bte400\Desktop\Final\ , LongSubPath: Windows\ , ShortSubPath:
00989: (Server): MSI (s) (DC:0C) [09:58:43:790]: Dir (source): Key: TempFolder , Object: C:\Documents and Settings\bte400\Desktop\Final\ , LongSubPath: Windows\Temp\ , ShortSubPath:
00990: (Server): MSI (s) (DC:0C) [09:58:43:790]: Dir (source): Key: System16Folder , Object: C:\Documents and Settings\bte400\Desktop\Final\ , LongSubPath: Windows\System\ , ShortSubPath:
00991: (Server): MSI (s) (DC:0C) [09:58:43:790]: Dir (source): Key: WinSxS , Object: C:\Documents and Settings\bte400\Desktop\Final\ , LongSubPath: Windows\WinSxS\ , ShortSubPath:
00992: (Server): MSI (s) (DC:0C) [09:58:43:790]: Dir (source): Key: AdminToolsFolder , Object: C:\Documents and Settings\bte400\Desktop\Final\ , LongSubPath: Windows\Admin Tools\ , ShortSubPath: Windows\ADMINT~1\
00993: (Server): MSI (s) (DC:0C) [09:58:43:790]: Dir (source): Key: TemplateFolder , Object: C:\Documents and Settings\bte400\Desktop\Final\ , LongSubPath: Windows\ShellNew\ , ShortSubPath:
00994: (Server): MSI (s) (DC:0C) [09:58:43:790]: Dir (source): Key: SystemFolder , Object: C:\Documents and Settings\bte400\Desktop\Final\ , LongSubPath: Windows\System32\ , ShortSubPath:
00995: (Server): MSI (s) (DC:0C) [09:58:43:790]: Dir (source): Key: FontsFolder , Object: C:\Documents and Settings\bte400\Desktop\Final\ , LongSubPath: Windows\Fonts\ , ShortSubPath:
00996: (Server): MSI (s) (DC:0C) [09:58:43:790]: Dir (source): Key: ProfilesFolder , Object: C:\Documents and Settings\bte400\Desktop\Final\ , LongSubPath: Windows\Profiles\ , ShortSubPath:
00997: (Server): MSI (s) (DC:0C) [09:58:43:790]: Dir (source): Key: FavoritesFolder , Object: C:\Documents and Settings\bte400\Desktop\Final\ , LongSubPath: Windows\Profiles\Favorites\ , ShortSubPath: Windows\Profiles\Favorite\
00998: (Server): MSI (s) (DC:0C) [09:58:43:790]: Dir (source): Key: RecentFolder , Object: C:\Documents and Settings\bte400\Desktop\Final\ , LongSubPath: Windows\Profiles\Recent\ , ShortSubPath:
00999: (Server): MSI (s) (DC:0C) [09:58:43:790]: Dir (source): Key: PersonalFolder , Object: C:\Documents and Settings\bte400\Desktop\Final\ , LongSubPath: Windows\Profiles\Personal\ , ShortSubPath:
01000: (Server): MSI (s) (DC:0C) [09:58:43:790]: Dir (source): Key: NetHoodFolder , Object: C:\Documents and Settings\bte400\Desktop\Final\ , LongSubPath: Windows\Profiles\NetHood\ , ShortSubPath:
01001: (Server): MSI (s) (DC:0C) [09:58:43:790]: Dir (source): Key: SendToFolder , Object: C:\Documents and Settings\bte400\Desktop\Final\ , LongSubPath: Windows\Profiles\SendTo\ , ShortSubPath:
01002: (Server): MSI (s) (DC:0C) [09:58:43:790]: Dir (source): Key: StartMenuFolder , Object: C:\Documents and Settings\bte400\Desktop\Final\ , LongSubPath: Windows\Profiles\Start Menu\ , ShortSubPath: Windows\Profiles\StartMen\
01003: (Server): MSI (s) (DC:0C) [09:58:43:790]: Dir (source): Key: ProgramMenuFolder , Object: C:\Documents and Settings\bte400\Desktop\Final\ , LongSubPath: Windows\Profiles\Start Menu\Programs\ , ShortSubPath: Windows\Profiles\StartMen\Programs\
01004: (Server): MSI (s) (DC:0C) [09:58:43:790]: Dir (source): Key: GeoMobile_Workstation , Object: C:\Documents and Settings\bte400\Desktop\Final\ , LongSubPath: Windows\Profiles\Start Menu\Programs\GeoMobile Workstation\ , ShortSubPath: Windows\Profiles\StartMen\Programs\GEOMOB~2\
01005: (Server): MSI (s) (DC:0C) [09:58:43:790]: Dir (source): Key: StartupFolder , Object: C:\Documents and Settings\bte400\Desktop\Final\ , LongSubPath: Windows\Profiles\Start Menu\Programs\Startup\ , ShortSubPath: Windows\Profiles\StartMen\Programs\Startup\
01006: (Server): MSI (s) (DC:0C) [09:58:43:790]: Dir (source): Key: AppDataFolder , Object: C:\Documents and Settings\bte400\Desktop\Final\ , LongSubPath: Windows\Profiles\Application Data\ , ShortSubPath: Windows\Profiles\Applicat\
01007: (Server): MSI (s) (DC:0C) [09:58:43:790]: Dir (source): Key: DesktopFolder , Object: C:\Documents and Settings\bte400\Desktop\Final\ , LongSubPath: Windows\Profiles\Desktop\ , ShortSubPath:
01008: (Server): MSI (s) (DC:0C) [09:58:43:790]: Dir (source): Key: PrintHoodFolder , Object: C:\Documents and Settings\bte400\Desktop\Final\ , LongSubPath: Windows\Profiles\PrintHood\ , ShortSubPath: Windows\Profiles\PrintHoo\
01009: (Server): MSI (s) (DC:0C) [09:58:43:790]: Dir (source): Key: GAC , Object: C:\Documents and Settings\bte400\Desktop\Final\ , LongSubPath: Global Assembly Cache\ , ShortSubPath: GLOBAL~1\
01010: (Server): MSI (s) (DC:0C) [09:58:43:790]: Dir (source): Key: ProgramFilesFolder , Object: C:\Documents and Settings\bte400\Desktop\Final\ , LongSubPath: Program Files\ , ShortSubPath: ProgramF\
01011: (Server): MSI (s) (DC:0C) [09:58:43:790]: Dir (source): Key: CommonFilesFolder , Object: C:\Documents and Settings\bte400\Desktop\Final\ , LongSubPath: Program Files\Common Files\ , ShortSubPath: ProgramF\CommonFi\
01012: (Server): MSI (s) (DC:0C) [09:58:43:790]: Dir (source): Key: ESRI , Object: C:\Documents and Settings\bte400\Desktop\Final\ , LongSubPath: Program Files\Common Files\ESRI\ , ShortSubPath: ProgramF\CommonFi\ESRI\
01013: (Server): MSI (s) (DC:0C) [09:58:43:790]: Dir (source): Key: INSTALLDIR2 , Object: C:\Documents and Settings\bte400\Desktop\Final\ , LongSubPath: Program Files\GeoMobile\ , ShortSubPath: ProgramF\GEOMOB~1\
01014: (Server): MSI (s) (DC:0C) [09:58:43:790]: Dir (source): Key: INSTALLDIR18 , Object: C:\Documents and Settings\bte400\Desktop\Final\ , LongSubPath: Program Files\GeoMobile\Workstation\ , ShortSubPath: ProgramF\GEOMOB~1\WORKST~1\
01015: (Server): MSI (s) (DC:0C) [09:58:43:790]: Dir (source): Key: aps , Object: C:\Documents and Settings\bte400\Desktop\Final\ , LongSubPath: Program Files\GeoMobile\Workstation\aps\ , ShortSubPath: ProgramF\GEOMOB~1\WORKST~1\aps\
01016: (Server): MSI (s) (DC:0C) [09:58:43:790]: Dir (source): Key: wav , Object: C:\Documents and Settings\bte400\Desktop\Final\ , LongSubPath: Program Files\GeoMobile\Workstation\wav\ , ShortSubPath: ProgramF\GEOMOB~1\WORKST~1\wav\
01017: (Server): MSI (s) (DC:0C) [09:58:43:790]: Dir (source): Key: images , Object: C:\Documents and Settings\bte400\Desktop\Final\ , LongSubPath: Program Files\GeoMobile\Workstation\images\ , ShortSubPath: ProgramF\GEOMOB~1\WORKST~1\images\
01018: (Server): MSI (s) (DC:0C) [09:58:43:790]: Dir (source): Key: skins , Object: C:\Documents and Settings\bte400\Desktop\Final\ , LongSubPath: Program Files\GeoMobile\Workstation\skins\ , ShortSubPath: ProgramF\GEOMOB~1\WORKST~1\skins\
01019: (Server): MSI (s) (DC:0C) [09:58:43:790]: Dir (source): Key: default1 , Object: C:\Documents and Settings\bte400\Desktop\Final\ , LongSubPath: Program Files\GeoMobile\Workstation\skins\default\ , ShortSubPath: ProgramF\GEOMOB~1\WORKST~1\skins\default\
01020: (Server): MSI (s) (DC:0C) [09:58:43:790]: Dir (source): Key: police , Object: C:\Documents and Settings\bte400\Desktop\Final\ , LongSubPath: Program Files\GeoMobile\Workstation\skins\police\ , ShortSubPath: ProgramF\GEOMOB~1\WORKST~1\skins\police\
01021: (Server): MSI (s) (DC:0C) [09:58:43:790]: Dir (source): Key: patriotic , Object: C:\Documents and Settings\bte400\Desktop\Final\ , LongSubPath: Program Files\GeoMobile\Workstation\skins\patriotic\ , ShortSubPath: ProgramF\GEOMOB~1\WORKST~1\skins\PATRIO~1\
01022: (Server): MSI (s) (DC:0C) [09:58:43:790]: Dir (source): Key: ems , Object: C:\Documents and Settings\bte400\Desktop\Final\ , LongSubPath: Program Files\GeoMobile\Workstation\skins\ems\ , ShortSubPath: ProgramF\GEOMOB~1\WORKST~1\skins\ems\
01023: (Server): MSI (s) (DC:0C) [09:58:43:790]: Dir (source): Key: fire , Object: C:\Documents and Settings\bte400\Desktop\Final\ , LongSubPath: Program Files\GeoMobile\Workstation\skins\fire\ , ShortSubPath: ProgramF\GEOMOB~1\WORKST~1\skins\fire\
01024: (Server): MSI (s) (DC:0C) [09:58:43:790]: Dir (source): Key: fireems , Object: C:\Documents and Settings\bte400\Desktop\Final\ , LongSubPath: Program Files\GeoMobile\Workstation\skins\fire-ems\ , ShortSubPath: ProgramF\GEOMOB~1\WORKST~1\skins\fire-ems\
01025: (Server): MSI (s) (DC:0C) [09:58:43:790]: Dir (source): Key: GeoRules , Object: C:\Documents and Settings\bte400\Desktop\Final\ , LongSubPath: Program Files\GeoMobile\Workstation\GeoRules\ , ShortSubPath: ProgramF\GEOMOB~1\WORKST~1\GeoRules\
01026: (Server): MSI (s) (DC:0C) [09:58:43:790]: Dir (source): Key: Maps , Object: C:\Documents and Settings\bte400\Desktop\Final\ , LongSubPath: Program Files\GeoMobile\Workstation\Maps\ , ShortSubPath: ProgramF\GEOMOB~1\WORKST~1\Maps\
01027: (Server): MSI (s) (DC:0C) [09:58:43:790]: Dir (source): Key: default , Object: C:\Documents and Settings\bte400\Desktop\Final\ , LongSubPath: Program Files\GeoMobile\Workstation\Maps\default\ , ShortSubPath: ProgramF\GEOMOB~1\WORKST~1\Maps\default\
01028: (Server): MSI (s) (DC:0C) [09:58:43:790]: Dir (source): Key: mofix , Object: C:\Documents and Settings\bte400\Desktop\Final\ , LongSubPath: Program Files\GeoMobile\Workstation\mofix\ , ShortSubPath: ProgramF\GEOMOB~1\WORKST~1\mofix\
01029: (Server): MSI (s) (DC:0C) [09:58:43:790]: Dir (source): Key: Bin , Object: C:\Documents and Settings\bte400\Desktop\Final\ , LongSubPath: Program Files\GeoMobile\Workstation\mofix\Bin\ , ShortSubPath: ProgramF\GEOMOB~1\WORKST~1\mofix\Bin\
01030: (Server): MSI (s) (DC:0C) [09:58:43:790]: Dir (source): Key: INSTALLDIR3 , Object: C:\Documents and Settings\bte400\Desktop\Final\ , LongSubPath: Program Files\IPC\ , ShortSubPath: ProgramF\IPC\
01031: (Server): MSI (s) (DC:0C) [09:58:43:790]: Dir (source): Key: GeoMobile , Object: C:\Documents and Settings\bte400\Desktop\Final\ , LongSubPath: Program Files\IPC\GeoMobile\ , ShortSubPath: ProgramF\IPC\GEOMOB~3\
01032: (Server): MSI (s) (DC:0C) [09:58:43:790]: Dir (source): Key: INSTALLDIR , Object: C:\Documents and Settings\bte400\Desktop\Final\ , LongSubPath: Program Files\IPC\GeoMobile\Workstation\ , ShortSubPath: ProgramF\IPC\GEOMOB~3\WORKST~2\
01033: (Server): MSI (s) (DC:0C) [09:58:43:790]: Dir (source): Key: HC_3RIVERS , Object: C:\Documents and Settings\bte400\Desktop\Final\ , LongSubPath: Program Files\IPC\GeoMobile\Workstation\3RIVERS\ , ShortSubPath: ProgramF\IPC\GEOMOB~3\WORKST~2\3RIVERS\
01034: (Server): MSI (s) (DC:0C) [09:58:43:790]: Dir (source): Key: aps4 , Object: C:\Documents and Settings\bte400\Desktop\Final\ , LongSubPath: Program Files\IPC\GeoMobile\Workstation\aps\ , ShortSubPath: ProgramF\IPC\GEOMOB~3\WORKST~2\aps\
01035: (Server): MSI (s) (DC:0C) [09:58:43:790]: Dir (source): Key: images5 , Object: C:\Documents and Settings\bte400\Desktop\Final\ , LongSubPath: Program Files\IPC\GeoMobile\Workstation\images\ , ShortSubPath: ProgramF\IPC\GEOMOB~3\WORKST~2\images\
01036: (Server): MSI (s) (DC:0C) [09:58:43:790]: Dir (source): Key: Maps6 , Object: C:\Documents and Settings\bte400\Desktop\Final\ , LongSubPath: Program Files\IPC\GeoMobile\Workstation\Maps\ , ShortSubPath: ProgramF\IPC\GEOMOB~3\WORKST~2\Maps\
01037: (Server): MSI (s) (DC:0C) [09:58:43:790]: Dir (source): Key: default7 , Object: C:\Documents and Settings\bte400\Desktop\Final\ , LongSubPath: Program Files\IPC\GeoMobile\Workstation\Maps\default\ , ShortSubPath: ProgramF\IPC\GEOMOB~3\WORKST~2\Maps\default\
01038: (Server): MSI (s) (DC:0C) [09:58:43:790]: Dir (source): Key: wav17 , Object: C:\Documents and Settings\bte400\Desktop\Final\ , LongSubPath: Program Files\IPC\GeoMobile\Workstation\wav\ , ShortSubPath: ProgramF\IPC\GEOMOB~3\WORKST~2\wav\
01039: (Server): MSI (s) (DC:0C) [09:58:43:790]: Dir (source): Key: GeoRules19 , Object: C:\Documents and Settings\bte400\Desktop\Final\ , LongSubPath: Program Files\IPC\GeoMobile\Workstation\GeoRules\ , ShortSubPath: ProgramF\IPC\GEOMOB~3\WORKST~2\GeoRules\
01040: (Server): MSI (s) (DC:0C) [09:58:43:790]: Dir (source): Key: skins10 , Object: C:\Documents and Settings\bte400\Desktop\Final\ , LongSubPath: Program Files\IPC\GeoMobile\Workstation\skins\ , ShortSubPath: ProgramF\IPC\GEOMOB~3\WORKST~2\skins\
01041: (Server): MSI (s) (DC:0C) [09:58:43:790]: Dir (source): Key: default11 , Object: C:\Documents and Settings\bte400\Desktop\Final\ , LongSubPath: Program Files\IPC\GeoMobile\Workstation\skins\default\ , ShortSubPath: ProgramF\IPC\GEOMOB~3\WORKST~2\skins\default\
01042: (Server): MSI (s) (DC:0C) [09:58:43:790]: Dir (source): Key: ems12 , Object: C:\Documents and Settings\bte400\Desktop\Final\ , LongSubPath: Program Files\IPC\GeoMobile\Workstation\skins\ems\ , ShortSubPath: ProgramF\IPC\GEOMOB~3\WORKST~2\skins\ems\
01043: (Server): MSI (s) (DC:0C) [09:58:43:790]: Dir (source): Key: fire13 , Object: C:\Documents and Settings\bte400\Desktop\Final\ , LongSubPath: Program Files\IPC\GeoMobile\Workstation\skins\fire\ , ShortSubPath: ProgramF\IPC\GEOMOB~3\WORKST~2\skins\fire\
01044: (Server): MSI (s) (DC:0C) [09:58:43:790]: Dir (source): Key: fireems14 , Object: C:\Documents and Settings\bte400\Desktop\Final\ , LongSubPath: Program Files\IPC\GeoMobile\Workstation\skins\fire-ems\ , ShortSubPath: ProgramF\IPC\GEOMOB~3\WORKST~2\skins\fire-ems\
01045: (Server): MSI (s) (DC:0C) [09:58:43:790]: Dir (source): Key: patriotic15 , Object: C:\Documents and Settings\bte400\Desktop\Final\ , LongSubPath: Program Files\IPC\GeoMobile\Workstation\skins\patriotic\ , ShortSubPath: ProgramF\IPC\GEOMOB~3\WORKST~2\skins\PATRIO~2\
01046: (Server): MSI (s) (DC:0C) [09:58:43:790]: Dir (source): Key: police16 , Object: C:\Documents and Settings\bte400\Desktop\Final\ , LongSubPath: Program Files\IPC\GeoMobile\Workstation\skins\police\ , ShortSubPath: ProgramF\IPC\GEOMOB~3\WORKST~2\skins\police\
01047: (Server): MSI (s) (DC:0C) [09:58:43:790]: Dir (source): Key: mofix8 , Object: C:\Documents and Settings\bte400\Desktop\Final\ , LongSubPath: Program Files\IPC\GeoMobile\Workstation\mofix\ , ShortSubPath: ProgramF\IPC\GEOMOB~3\WORKST~2\mofix\
01048: (Server): MSI (s) (DC:0C) [09:58:43:790]: Dir (source): Key: Bin9 , Object: C:\Documents and Settings\bte400\Desktop\Final\ , LongSubPath: Program Files\IPC\GeoMobile\Workstation\mofix\Bin\ , ShortSubPath: ProgramF\IPC\GEOMOB~3\WORKST~2\mofix\Bin\
01049: (Server): MSI (s) (DC:0C) [09:58:43:790]: Note: 1: 2706 2: SourceDir
Posted by:
dandirk
13 years ago
ok found this... Seems to describe exactly what I am seeing. Though I cannot find reference to the Word Count Summary in the log, nor in IS.
"Note that if the package is marked as compressed (Bit 1 is set), the Windows Installer only installs files located at the root of the source. In this case, even files marked as uncompressed in the File Table must be located at the root to be installed. To specify a source image that has both a cabinet file (compressed files) and uncompressed files that match the tree in the Directory Table, mark the package as uncompressed by leaving Bit 1 unset (value=0) in the Word Count Summary property and set msidbFileAttributesCompressed (value=16384) in the Attributes column of the File Table for each file in the cabinet."
http://msdn.microsoft.com/en-us/library/aa372870(v=vs.85).aspx
"Note that if the package is marked as compressed (Bit 1 is set), the Windows Installer only installs files located at the root of the source. In this case, even files marked as uncompressed in the File Table must be located at the root to be installed. To specify a source image that has both a cabinet file (compressed files) and uncompressed files that match the tree in the Directory Table, mark the package as uncompressed by leaving Bit 1 unset (value=0) in the Word Count Summary property and set msidbFileAttributesCompressed (value=16384) in the Attributes column of the File Table for each file in the cabinet."
http://msdn.microsoft.com/en-us/library/aa372870(v=vs.85).aspx
Posted by:
dandirk
13 years ago
Ok so I think the above MS Article did have the solution I was looking for. I was able to add uncompressed files to mst and was forced to place them in the folder structure mentioned in my OP, rather then just the root folder where the msi was launched.
It had to do with the Word Count Summary, which in this msi was a value of 2 (See: http://msdn.microsoft.com/en-us/library/Aa372870) meaning it was expecting either file in compressed source or on the root.
I had to download the MS Windows 7 .net 3.5 SDK and used an exe called msiinfo.exe (switches here) to see the Word Count value and also to change it to 0 as per the above post article.
The bit pain, was that I had to go into the file table and change the Attribute column... All 0;s had to be changed to 16384, leave the custom files you added, anything with an additional value, I had to add the "16384" to it to get the proper binary value.
Once I did all that, the msi prompted for the file in the proper source location, now I can add :Source changes to the directory table for my 6 different (but same name/location) files.
It had to do with the Word Count Summary, which in this msi was a value of 2 (See: http://msdn.microsoft.com/en-us/library/Aa372870) meaning it was expecting either file in compressed source or on the root.
I had to download the MS Windows 7 .net 3.5 SDK and used an exe called msiinfo.exe (switches here) to see the Word Count value and also to change it to 0 as per the above post article.
The bit pain, was that I had to go into the file table and change the Attribute column... All 0;s had to be changed to 16384, leave the custom files you added, anything with an additional value, I had to add the "16384" to it to get the proper binary value.
Once I did all that, the msi prompted for the file in the proper source location, now I can add :Source changes to the directory table for my 6 different (but same name/location) files.
Posted by:
anonymous_9363
13 years ago
Welcome to the dark, dank world of application packaging!
IS can access the Word Count information, I just can't remember where in the GUI you need to go. The Help file will probably tell you.
MSIINFO is a new one on me. Most packagers use Orca and/or InstEdit. Orca is part of the Platform SDK (H U G E these days) and InstEdit can be d/l from instedit.com
IS can access the Word Count information, I just can't remember where in the GUI you need to go. The Help file will probably tell you.
MSIINFO is a new one on me. Most packagers use Orca and/or InstEdit. Orca is part of the Platform SDK (H U G E these days) and InstEdit can be d/l from instedit.com
Posted by:
dandirk
13 years ago
Posted by:
anonymous_9363
13 years ago
Posted by:
Arminius
13 years ago
How different are the files? if they are ini or xml files, why not install the master file and use the public property to edit the one file? Then you don't need to manage 6 versions of the same file. Or call the 6 files file1, file2, etc and install depending on the public property, then rename them. My $.02
Posted by:
dandirk
13 years ago
Thanks Arminuis...
I would LOVE to do that... they are 6 mdb files. Have no clue why this app uses ms access mdb to track settings. What cracks me up is that the DB has tables called inisettings in it... I wish it were that easy!
Also we have no clue what is different in each DB, we know they are different. I ran db compare tools, but they only check table structure, which all matched. The customer that provided the config files, doesn't know either, but insists they are needed. The DB has enough data that I am not going to check them all...
I have it working, I just noticed the uncompressed source behavior before (with files added via MST) and was always curious what caused each type of behavior I saw. I just never ran into problems with either behavior... until now.
-----
Thanks VBScab
I assume you are talking about the Schema in orca is probably the same thing... Only use orca for comparisons and quick checks but its better to not have to add another tool (msiinfo.exe)
EDIT: Ok compare the original and modified versions of the msi... "Compressed by Default" in orca was enabled in the orig, and not in my modified version. Thanks for the pointer VBScab.
I would LOVE to do that... they are 6 mdb files. Have no clue why this app uses ms access mdb to track settings. What cracks me up is that the DB has tables called inisettings in it... I wish it were that easy!
Also we have no clue what is different in each DB, we know they are different. I ran db compare tools, but they only check table structure, which all matched. The customer that provided the config files, doesn't know either, but insists they are needed. The DB has enough data that I am not going to check them all...
I have it working, I just noticed the uncompressed source behavior before (with files added via MST) and was always curious what caused each type of behavior I saw. I just never ran into problems with either behavior... until now.
-----
Thanks VBScab
I assume you are talking about the Schema in orca is probably the same thing... Only use orca for comparisons and quick checks but its better to not have to add another tool (msiinfo.exe)
EDIT: Ok compare the original and modified versions of the msi... "Compressed by Default" in orca was enabled in the orig, and not in my modified version. Thanks for the pointer VBScab.
Posted by:
jerry05031111
13 years ago
Welcome to the dark, dank world of application packaging!
IS can access the Word Count information, I just can't remember where in the GUI you need to go. The Help file will probably tell you.
MSIINFO is a new one on me. Most packagers use Orca and/or InstEdit. Orca is part of the Platform SDK (H U G E these days) and InstEdit can be d/l from
[url=http://office2007use127.onsugar.com/Microsoft-Office-2007-Document-Management-Business-18294425]Microsoft Office 2007 For Document Management And Business [/url]
[url=http://office2007use127.over-blog.com/article-going-that-extra-mile-with-microsoft-office-2007-79399723.html]Going That Extra Mile With Microsoft Office 2007[/url]
[url=http://quizilla.teennick.com/stories/19456551/automated-help-for-microsoft-office-2007]Automated Help For Microsoft Office 2007[/url]
IS can access the Word Count information, I just can't remember where in the GUI you need to go. The Help file will probably tell you.
MSIINFO is a new one on me. Most packagers use Orca and/or InstEdit. Orca is part of the Platform SDK (H U G E these days) and InstEdit can be d/l from
[url=http://office2007use127.onsugar.com/Microsoft-Office-2007-Document-Management-Business-18294425]Microsoft Office 2007 For Document Management And Business [/url]
[url=http://office2007use127.over-blog.com/article-going-that-extra-mile-with-microsoft-office-2007-79399723.html]Going That Extra Mile With Microsoft Office 2007[/url]
[url=http://quizilla.teennick.com/stories/19456551/automated-help-for-microsoft-office-2007]Automated Help For Microsoft Office 2007[/url]
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.