installFailedToStartServiceNoRollback.log <http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/file/n7593031/installFailedToStartServiceNoRollback.log> installFailedToStartServiceRollback.log <http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/file/n7593031/installFailedToStartServiceRollback.log> installSuccess.log <http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/file/n7593031/installSuccess.log>
Hi Phil, Attached are 3 log files 1. installSuccess.log is the file when the installation was successful (no missing DLL) 2. installFailedToStartServiceRollback.log is the log file when the installation fails because of missing DLL (AppDBCredentials.dll), and I click Cancel, and the installation rolled back previous version 3. installFailedToStartServiceNoRollback.log is the log file when the installation fails because of missing DLL (AppDBCredentials.dll), and I selected "Automatically close applications and attempt to restart them after setup is complete" and click OK, and the installation finish with copying the latest .EXE, deleting the AppDBCredentials.dll, and does NOT roll back to previous version >From what I can see, the difference between #1 and #2 is this lines (I mark it with -->>>) *Successful installation log* MSI (s) (D0:A8) [14:37:48:845]: Note: 1: 2205 2: 3: Registry : MSI (s) (D0:A8) [14:37:48:846]: Note: 1: 2205 2: 3: TypeLib MSI (s) (D0:A8) [14:37:48:848]: PROPERTY CHANGE: Modifying CostingComplete property. Its current value is '0'. Its new value: '1'. MSI (s) (D0:A8) [14:37:48:849]: Note: 1: 2205 2: 3: Registry : MSI (s) (D0:A8) [14:37:48:849]: Note: 1: 2205 2: 3: TypeLib MSI (s) (D0:A8) [14:37:48:849]: Note: 1: 2727 2: ----->>> MSI (s) (D0:A8) [14:37:48:850]: Note: 1: 2205 2: 3: FilesInUse -->>> this line doesn't exist in the files-in-use prompt MSI (s) (D0:A8) [14:37:48:857]: Note: 1: 2727 2: Action ended 14:37:48: InstallValidate. Return value 1. MSI (s) (D0:A8) [14:37:48:858]: Doing action: InstallInitialize Action 14:37:48: InstallInitialize. Action start 14:37:48: InstallInitialize. MSI (s) (D0:A8) [14:37:48:859]: Machine policy value 'AlwaysInstallElevated' is 0 MSI (s) (D0:A8) [14:37:48:859]: User policy value 'AlwaysInstallElevated' is 0 Action 14:37:48: GenerateScript. Generating script operations for action: GenerateScript: InstallInitialize MSI (s) (D0:A8) [14:37:48:864]: PROPERTY CHANGE: Deleting ProductToBeRegistered property. Its current value is '1'. *Files-in-use prompt log* MSI (s) (7C:50) [15:46:15:367]: Note: 1: 2205 2: 3: Registry : MSI (s) (7C:50) [15:46:15:367]: Note: 1: 2205 2: 3: TypeLib -->>> MSI (s) (7C:50) [15:46:15:369]: Note: 1: 2205 2: 3: _RemoveFilePath -->>> this line doesn't exist in the successful installation MSI (s) (7C:50) [15:46:15:370]: PROPERTY CHANGE: Modifying CostingComplete property. Its current value is '0'. Its new value: '1'. MSI (s) (7C:50) [15:46:15:370]: Note: 1: 2205 2: 3: Registry : MSI (s) (7C:50) [15:46:15:370]: Note: 1: 2205 2: 3: TypeLib MSI (s) (7C:50) [15:46:15:371]: Note: 1: 2727 2: MSI (c) (B0:C4) [15:46:15:391]: RESTART MANAGER: Session opened. MSI (c) (B0:C4) [15:46:15:399]: Note: 1: 2262 2: ListBox 3: -2147287038 And, the difference between #2 and #3 *Files-in-use prompt Click cancel - Rollback log (This is after I click Cancel)* MSI (c) (B0:C4) [15:46:54:419]: PROPERTY CHANGE: Modifying WixUIRMOption property. Its current value is 'UseRM'. Its new value: 'DontUseRM'. MSI (c) (B0:C4) [15:46:56:567]: PROPERTY CHANGE: Modifying WixUIRMOption property. Its current value is 'DontUseRM'. Its new value: 'UseRM'. MSI (s) (7C:B8) [15:47:13:518]: I/O on thread 408 could not be cancelled. Error: 1168 : MSI (s) (7C:B8) [15:47:13:518]: I/O on thread 4296 could not be cancelled. Error: 1168 Action ended 15:47:13: InstallValidate. Return value 2. : Action 15:47:13: Rollback. Rolling back action: Rollback: Publishing product information *Files-in-use prompt Click OK - no Rollback log (This is after I click OK)* MSI (s) (A4:A4) [12:57:05:685]: Running as a service. MSI (s) (A4:A4) [12:57:05:686]: Opening per-machine managed SourceList. MSI (s) (A4:A4) [12:57:05:687]: User will be allowed to modify contents of SourceList. MSI (s) (A4:A4) [12:57:05:920]: Running as a service. MSI (s) (A4:A4) [12:57:05:920]: Opening per-machine managed SourceList. MSI (s) (A4:A4) [12:57:05:921]: User will be allowed to modify contents of SourceList. MSI (s) (A4:A4) [12:57:05:922]: Running as a service. MSI (s) (A4:A4) [12:57:05:923]: Opening per-machine managed SourceList. MSI (s) (A4:A4) [12:57:05:923]: User will be allowed to modify contents of SourceList. MSI (s) (A4:A4) [12:57:05:923]: Note: 1: 1402 2: UNKNOWN\Net 3: 2 MSI (s) (A4:A4) [12:57:05:923]: Added new source 'C:\_SMSTaskSequence\Packages\GBL000DE\' with index '1' MSI (s) (A4:A4) [12:57:05:925]: Running as a service. MSI (s) (A4:A4) [12:57:05:925]: User will be allowed to modify contents of SourceList. MSI (s) (A4:A4) [12:57:05:925]: Specifed source is already in a list. Action 12:57:28: ShutdownApplications. Shutting down applications MSI (s) (A4:64) [12:57:28:698]: RESTART MANAGER: Successfully shut down all applications in the service's session that held files in use. MSI (c) (20:34) [12:57:28:698]: RESTART MANAGER: Successfully shut down all applications that held files in use. MSI (s) (A4:64) [12:57:29:203]: Note: 1: 2727 2: Action ended 12:57:29: InstallValidate. Return value 1. MSI (s) (A4:64) [12:57:29:203]: Doing action: InstallInitialize Action 12:57:29: InstallInitialize. Action start 12:57:29: InstallInitialize. Thank you. -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/How-to-not-copy-a-file-in-subsequent-installations-tp7592929p7593031.html Sent from the wix-users mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Flow-based real-time traffic analytics software. Cisco certified tool. Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer Customize your own dashboards, set traffic alerts and generate reports. Network behavioral analysis & security monitoring. All-in-one tool. http://pubads.g.doubleclick.net/gampad/clk?id=126839071&iu=/4140/ostg.clktrk _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users