dandirk
08-22-2012, 10:39 AM
Built a basic msi, added predefined folder [LocalAppDataFolder], then manually created sub dirs Microsoft\Office. Then I have an XML edit (tested a normal file too) in this directory.
Since this is a user profile location, I am relying on self-heal/repair to propagate the file to new users on the workstation.
It works fine for the first user that runs the msi, then for the second user the repair uses the paths to the profile of the first user. You can even see in the logs that the proper path for LocalAppDataFolder is set, then right away the property will be changed to the path of user1 profile...
I rarely ever ran into this issue with 11, is there a setting or behavior that changed????
00169: (Unknown): Action start 9:59:39: CostFinalize.
00170: (Client): MSI (c) (98:48) [09:59:39:882]: PROPERTY CHANGE: Adding OutOfDiskSpace property. Its value is '0'.
00171: (Client): MSI (c) (98:48) [09:59:39:882]: PROPERTY CHANGE: Adding OutOfNoRbDiskSpace property. Its value is '0'.
00172: (Client): MSI (c) (98:48) [09:59:39:882]: PROPERTY CHANGE: Adding PrimaryVolumeSpaceAvailable property. Its value is '0'.
00173: (Client): MSI (c) (98:48) [09:59:39:882]: PROPERTY CHANGE: Adding PrimaryVolumeSpaceRequired property. Its value is '0'.
00174: (Client): MSI (c) (98:48) [09:59:39:882]: PROPERTY CHANGE: Adding PrimaryVolumeSpaceRemaining property. Its value is '0'.
00175: (Client): MSI (c) (98:48) [09:59:39:882]: Note: 1: 2205 2: 3: MsiAssembly
00176: (Client): MSI (c) (98:48) [09:59:39:882]: Note: 1: 2228 2: 3: MsiAssembly 4: SELECT `MsiAssembly`.`Attributes`, `MsiAssembly`.`File_Application`, `MsiAssembly`.`File_Manifest`, `Component`.`KeyPath` FROM `MsiAssembly`, `Component` WHERE `MsiAssembly`.`Component_` = `Component`.`Component` AND `MsiAssembly`.`Component_` = ?
00177: (Client): MSI (c) (98:48) [09:59:39:882]: PROPERTY CHANGE: Modifying LocalAppDataFolder property. Its current value is 'C:\Documents and Settings\test2\Local Settings\Application Data\'. Its new value: 'C:\Documents and Settings\test1\Local Settings\Application Data'.
00178: (Client): MSI (c) (98:48) [09:59:39:882]: PROPERTY CHANGE: Adding INSTALLDIR property. Its value is 'C:\Program Files\Microsoft Office\Templates\PubDef'.
00179: (Client): MSI (c) (98:48) [09:59:39:882]: PROPERTY CHANGE: Adding MICROSOFT_OFFICE property. Its value is 'C:\Program Files\Microsoft Office'.
00180: (Client): MSI (c) (98:48) [09:59:39:882]: PROPERTY CHANGE: Adding TEMPLATES property. Its value is 'C:\Program Files\Microsoft Office\Templates'.
00181: (Client): MSI (c) (98:48) [09:59:39:882]: PROPERTY CHANGE: Adding PUBDEF property. Its value is 'C:\Program Files\Microsoft Office\Templates\PubDef'.
00182: (Client): MSI (c) (98:48) [09:59:39:882]: PROPERTY CHANGE: Adding MICROSOFT property. Its value is 'C:\Documents and Settings\test1\Local Settings\Application Data\Microsoft'.
00183: (Client): MSI (c) (98:48) [09:59:39:882]: PROPERTY CHANGE: Adding OFFICE property. Its value is 'C:\Documents and Settings\test1\Local Settings\Application Data\Microsoft\Office'.
00184: (Client): MSI (c) (98:48) [09:59:39:882]: Note: 1: 2262 2: Patch 3: -2147287038
00185: (Client): MSI (c) (98:48) [09:59:39:882]: Note: 1: 2205 2: 3: Condition
00186: (Client): MSI (c) (98:48) [09:59:39:882]: PROPERTY CHANGE: Adding TARGETDIR property. Its value is 'C:\'.
00187: (Client): MSI (c) (98:48) [09:59:39:882]: PROPERTY CHANGE: Modifying USERPROFILE property. Its current value is 'C:\Documents and Settings\test2'. Its new value: 'C:\Documents and Settings\test2\'.
00188: (Client): MSI (c) (98:48) [09:59:39:882]: PROPERTY CHANGE: Modifying LocalAppDataFolder property. Its current value is 'C:\Documents and Settings\test1\Local Settings\Application Data'. Its new value: 'C:\Documents and Settings\test1\Local Settings\Application Data\'.
00189: (Client): MSI (c) (98:48) [09:59:39:882]: PROPERTY CHANGE: Modifying MICROSOFT property. Its current value is 'C:\Documents and Settings\test1\Local Settings\Application Data\Microsoft'. Its new value: 'C:\Documents and Settings\test1\Local Settings\Application Data\Microsoft\'.
00190: (Client): MSI (c) (98:48) [09:59:39:882]: PROPERTY CHANGE: Modifying OFFICE property. Its current value is 'C:\Documents and Settings\test1\Local Settings\Application Data\Microsoft\Office'. Its new value: 'C:\Documents and Settings\test1\Local Settings\Application Data\Microsoft\Office\'.
00191: (Client): MSI (c) (98:48) [09:59:39:882]: PROPERTY CHANGE: Modifying MICROSOFT_OFFICE property. Its current value is 'C:\Program Files\Microsoft Office'. Its new value: 'C:\Program Files\Microsoft Office\'.
00192: (Client): MSI (c) (98:48) [09:59:39:882]: PROPERTY CHANGE: Modifying TEMPLATES property. Its current value is 'C:\Program Files\Microsoft Office\Templates'. Its new value: 'C:\Program Files\Microsoft Office\Templates\'.
00193: (Client): MSI (c) (98:48) [09:59:39:882]: PROPERTY CHANGE: Modifying PUBDEF property. Its current value is 'C:\Program Files\Microsoft Office\Templates\PubDef'. Its new value: 'C:\Program Files\Microsoft Office\Templates\PubDef\'.
00194: (Client): MSI (c) (98:48) [09:59:39:882]: PROPERTY CHANGE: Modifying INSTALLDIR property. Its current value is 'C:\Program Files\Microsoft Office\Templates\PubDef'. Its new value: 'C:\Program Files\Microsoft Office\Templates\PubDef\'.
00195: (Client): MSI (c) (98:48) [09:59:39:882]: PROPERTY CHANGE: Adding ISYourDataBaseDir property. Its value is 'C:\Program Files\Microsoft Office\Templates\PubDef\Database\'.
00196: (Client): MSI (c) (98:48) [09:59:39:882]: PROPERTY CHANGE: Adding DATABASEDIR property. Its value is 'C:\Program Files\Microsoft Office\Templates\PubDef\Database\'.
00197: (Client): MSI (c) (98:48) [09:59:39:882]: PROPERTY CHANGE: Modifying ALLUSERSPROFILE property. Its current value is 'C:\Documents and Settings\All Users'. Its new value: 'C:\Documents and Settings\All Users\'.
00198: (Client): MSI (c) (98:48) [09:59:39:882]: Target path resolution complete. Dumping Directory table...
00199: (Client): MSI (c) (98:48) [09:59:39:882]: Note: target paths subject to change (via custom actions or browsing)
00200: (Client): MSI (c) (98:48) [09:59:39:882]: Dir (target): Key: TARGETDIR , Object: C:\
00201: (Client): MSI (c) (98:48) [09:59:39:882]: Dir (target): Key: USERPROFILE , Object: C:\Documents and Settings\test2\
00202: (Client): MSI (c) (98:48) [09:59:39:882]: Dir (target): Key: SystemFolder , Object: C:\WINDOWS\system32\
00203: (Client): MSI (c) (98:48) [09:59:39:882]: Dir (target): Key: LocalAppDataFolder , Object: C:\Documents and Settings\test1\Local Settings\Application Data\
00204: (Client): MSI (c) (98:48) [09:59:39:882]: Dir (target): Key: MICROSOFT , Object: C:\Documents and Settings\test1\Local Settings\Application Data\Microsoft\
00205: (Client): MSI (c) (98:48) [09:59:39:882]: Dir (target): Key: OFFICE , Object: C:\Documents and Settings\test1\Local Settings\Application Data\Microsoft\Office\
00206: (Client): MSI (c) (98:48) [09:59:39:882]: Dir (target): Key: ProgramFilesFolder , Object: C:\Program Files\
00207: (Client): MSI (c) (98:48) [09:59:39:882]: Dir (target): Key: MICROSOFT_OFFICE , Object: C:\Program Files\Microsoft Office\
00208: (Client): MSI (c) (98:48) [09:59:39:882]: Dir (target): Key: TEMPLATES , Object: C:\Program Files\Microsoft Office\Templates\
00209: (Client): MSI (c) (98:48) [09:59:39:882]: Dir (target): Key: PUBDEF , Object: C:\Program Files\Microsoft Office\Templates\PubDef\
00210: (Client): MSI (c) (98:48) [09:59:39:882]: Dir (target): Key: INSTALLDIR , Object: C:\Program Files\Microsoft Office\Templates\PubDef\
00211: (Client): MSI (c) (98:48) [09:59:39:882]: Dir (target): Key: ISYourDataBaseDir , Object: C:\Program Files\Microsoft Office\Templates\PubDef\Database\
00212: (Client): MSI (c) (98:48) [09:59:39:882]: Dir (target): Key: DATABASEDIR , Object: C:\Program Files\Microsoft Office\Templates\PubDef\Database\
00213: (Client): MSI (c) (98:48) [09:59:39:882]: Dir (target): Key: ALLUSERSPROFILE , Object: C:\Documents and Settings\All Users\
00214: (Unknown): Action ended 9:59:39: CostFinalize. Return value 1.
Since this is a user profile location, I am relying on self-heal/repair to propagate the file to new users on the workstation.
It works fine for the first user that runs the msi, then for the second user the repair uses the paths to the profile of the first user. You can even see in the logs that the proper path for LocalAppDataFolder is set, then right away the property will be changed to the path of user1 profile...
I rarely ever ran into this issue with 11, is there a setting or behavior that changed????
00169: (Unknown): Action start 9:59:39: CostFinalize.
00170: (Client): MSI (c) (98:48) [09:59:39:882]: PROPERTY CHANGE: Adding OutOfDiskSpace property. Its value is '0'.
00171: (Client): MSI (c) (98:48) [09:59:39:882]: PROPERTY CHANGE: Adding OutOfNoRbDiskSpace property. Its value is '0'.
00172: (Client): MSI (c) (98:48) [09:59:39:882]: PROPERTY CHANGE: Adding PrimaryVolumeSpaceAvailable property. Its value is '0'.
00173: (Client): MSI (c) (98:48) [09:59:39:882]: PROPERTY CHANGE: Adding PrimaryVolumeSpaceRequired property. Its value is '0'.
00174: (Client): MSI (c) (98:48) [09:59:39:882]: PROPERTY CHANGE: Adding PrimaryVolumeSpaceRemaining property. Its value is '0'.
00175: (Client): MSI (c) (98:48) [09:59:39:882]: Note: 1: 2205 2: 3: MsiAssembly
00176: (Client): MSI (c) (98:48) [09:59:39:882]: Note: 1: 2228 2: 3: MsiAssembly 4: SELECT `MsiAssembly`.`Attributes`, `MsiAssembly`.`File_Application`, `MsiAssembly`.`File_Manifest`, `Component`.`KeyPath` FROM `MsiAssembly`, `Component` WHERE `MsiAssembly`.`Component_` = `Component`.`Component` AND `MsiAssembly`.`Component_` = ?
00177: (Client): MSI (c) (98:48) [09:59:39:882]: PROPERTY CHANGE: Modifying LocalAppDataFolder property. Its current value is 'C:\Documents and Settings\test2\Local Settings\Application Data\'. Its new value: 'C:\Documents and Settings\test1\Local Settings\Application Data'.
00178: (Client): MSI (c) (98:48) [09:59:39:882]: PROPERTY CHANGE: Adding INSTALLDIR property. Its value is 'C:\Program Files\Microsoft Office\Templates\PubDef'.
00179: (Client): MSI (c) (98:48) [09:59:39:882]: PROPERTY CHANGE: Adding MICROSOFT_OFFICE property. Its value is 'C:\Program Files\Microsoft Office'.
00180: (Client): MSI (c) (98:48) [09:59:39:882]: PROPERTY CHANGE: Adding TEMPLATES property. Its value is 'C:\Program Files\Microsoft Office\Templates'.
00181: (Client): MSI (c) (98:48) [09:59:39:882]: PROPERTY CHANGE: Adding PUBDEF property. Its value is 'C:\Program Files\Microsoft Office\Templates\PubDef'.
00182: (Client): MSI (c) (98:48) [09:59:39:882]: PROPERTY CHANGE: Adding MICROSOFT property. Its value is 'C:\Documents and Settings\test1\Local Settings\Application Data\Microsoft'.
00183: (Client): MSI (c) (98:48) [09:59:39:882]: PROPERTY CHANGE: Adding OFFICE property. Its value is 'C:\Documents and Settings\test1\Local Settings\Application Data\Microsoft\Office'.
00184: (Client): MSI (c) (98:48) [09:59:39:882]: Note: 1: 2262 2: Patch 3: -2147287038
00185: (Client): MSI (c) (98:48) [09:59:39:882]: Note: 1: 2205 2: 3: Condition
00186: (Client): MSI (c) (98:48) [09:59:39:882]: PROPERTY CHANGE: Adding TARGETDIR property. Its value is 'C:\'.
00187: (Client): MSI (c) (98:48) [09:59:39:882]: PROPERTY CHANGE: Modifying USERPROFILE property. Its current value is 'C:\Documents and Settings\test2'. Its new value: 'C:\Documents and Settings\test2\'.
00188: (Client): MSI (c) (98:48) [09:59:39:882]: PROPERTY CHANGE: Modifying LocalAppDataFolder property. Its current value is 'C:\Documents and Settings\test1\Local Settings\Application Data'. Its new value: 'C:\Documents and Settings\test1\Local Settings\Application Data\'.
00189: (Client): MSI (c) (98:48) [09:59:39:882]: PROPERTY CHANGE: Modifying MICROSOFT property. Its current value is 'C:\Documents and Settings\test1\Local Settings\Application Data\Microsoft'. Its new value: 'C:\Documents and Settings\test1\Local Settings\Application Data\Microsoft\'.
00190: (Client): MSI (c) (98:48) [09:59:39:882]: PROPERTY CHANGE: Modifying OFFICE property. Its current value is 'C:\Documents and Settings\test1\Local Settings\Application Data\Microsoft\Office'. Its new value: 'C:\Documents and Settings\test1\Local Settings\Application Data\Microsoft\Office\'.
00191: (Client): MSI (c) (98:48) [09:59:39:882]: PROPERTY CHANGE: Modifying MICROSOFT_OFFICE property. Its current value is 'C:\Program Files\Microsoft Office'. Its new value: 'C:\Program Files\Microsoft Office\'.
00192: (Client): MSI (c) (98:48) [09:59:39:882]: PROPERTY CHANGE: Modifying TEMPLATES property. Its current value is 'C:\Program Files\Microsoft Office\Templates'. Its new value: 'C:\Program Files\Microsoft Office\Templates\'.
00193: (Client): MSI (c) (98:48) [09:59:39:882]: PROPERTY CHANGE: Modifying PUBDEF property. Its current value is 'C:\Program Files\Microsoft Office\Templates\PubDef'. Its new value: 'C:\Program Files\Microsoft Office\Templates\PubDef\'.
00194: (Client): MSI (c) (98:48) [09:59:39:882]: PROPERTY CHANGE: Modifying INSTALLDIR property. Its current value is 'C:\Program Files\Microsoft Office\Templates\PubDef'. Its new value: 'C:\Program Files\Microsoft Office\Templates\PubDef\'.
00195: (Client): MSI (c) (98:48) [09:59:39:882]: PROPERTY CHANGE: Adding ISYourDataBaseDir property. Its value is 'C:\Program Files\Microsoft Office\Templates\PubDef\Database\'.
00196: (Client): MSI (c) (98:48) [09:59:39:882]: PROPERTY CHANGE: Adding DATABASEDIR property. Its value is 'C:\Program Files\Microsoft Office\Templates\PubDef\Database\'.
00197: (Client): MSI (c) (98:48) [09:59:39:882]: PROPERTY CHANGE: Modifying ALLUSERSPROFILE property. Its current value is 'C:\Documents and Settings\All Users'. Its new value: 'C:\Documents and Settings\All Users\'.
00198: (Client): MSI (c) (98:48) [09:59:39:882]: Target path resolution complete. Dumping Directory table...
00199: (Client): MSI (c) (98:48) [09:59:39:882]: Note: target paths subject to change (via custom actions or browsing)
00200: (Client): MSI (c) (98:48) [09:59:39:882]: Dir (target): Key: TARGETDIR , Object: C:\
00201: (Client): MSI (c) (98:48) [09:59:39:882]: Dir (target): Key: USERPROFILE , Object: C:\Documents and Settings\test2\
00202: (Client): MSI (c) (98:48) [09:59:39:882]: Dir (target): Key: SystemFolder , Object: C:\WINDOWS\system32\
00203: (Client): MSI (c) (98:48) [09:59:39:882]: Dir (target): Key: LocalAppDataFolder , Object: C:\Documents and Settings\test1\Local Settings\Application Data\
00204: (Client): MSI (c) (98:48) [09:59:39:882]: Dir (target): Key: MICROSOFT , Object: C:\Documents and Settings\test1\Local Settings\Application Data\Microsoft\
00205: (Client): MSI (c) (98:48) [09:59:39:882]: Dir (target): Key: OFFICE , Object: C:\Documents and Settings\test1\Local Settings\Application Data\Microsoft\Office\
00206: (Client): MSI (c) (98:48) [09:59:39:882]: Dir (target): Key: ProgramFilesFolder , Object: C:\Program Files\
00207: (Client): MSI (c) (98:48) [09:59:39:882]: Dir (target): Key: MICROSOFT_OFFICE , Object: C:\Program Files\Microsoft Office\
00208: (Client): MSI (c) (98:48) [09:59:39:882]: Dir (target): Key: TEMPLATES , Object: C:\Program Files\Microsoft Office\Templates\
00209: (Client): MSI (c) (98:48) [09:59:39:882]: Dir (target): Key: PUBDEF , Object: C:\Program Files\Microsoft Office\Templates\PubDef\
00210: (Client): MSI (c) (98:48) [09:59:39:882]: Dir (target): Key: INSTALLDIR , Object: C:\Program Files\Microsoft Office\Templates\PubDef\
00211: (Client): MSI (c) (98:48) [09:59:39:882]: Dir (target): Key: ISYourDataBaseDir , Object: C:\Program Files\Microsoft Office\Templates\PubDef\Database\
00212: (Client): MSI (c) (98:48) [09:59:39:882]: Dir (target): Key: DATABASEDIR , Object: C:\Program Files\Microsoft Office\Templates\PubDef\Database\
00213: (Client): MSI (c) (98:48) [09:59:39:882]: Dir (target): Key: ALLUSERSPROFILE , Object: C:\Documents and Settings\All Users\
00214: (Unknown): Action ended 9:59:39: CostFinalize. Return value 1.