Hm...When I clicked on the links here, I see line breaks 1. installSuccess.log is the file when the installation was successful (no missing DLL) < http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/file/n7593031/installSuccess.log >
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 < http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/file/n7593031/installFailedToStartServiceRollback.log > 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 < http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/file/n7593031/installFailedToStartServiceNoRollback.log > The question that I have is when the installation fails, if I select either one of the selection in the files-in-use dialog, and click OK, it did NOT roll back to the previous version. The installation left the new files in the installed folder, and also already deleted the DLL (that I purposely do not include in the installation to duplicate a failed installation). The only way to roll back to the previous version is to click Cancel. Maybe it's not a problem, I just want to know if that behavior is by design. If the service doesn't start because of a missing DLL, the installation fails, is that correct ? Can you tell me what other ways I can do to cause rollbacks ? Thank you very much. On Sat, Mar 1, 2014 at 1:55 PM, Phil Wilson [via Windows Installer XML (WiX) toolset] <ml-node+s687559n759303...@n2.nabble.com> wrote: > You'll need to describe a real problem here. Apparently with that > first log the installation is successful, right? The fact that > everything honks up when you deliberately omit a required Dll is not > something I can help with. It's not realistic, and there are other > ways to cause rollbacks that don't involve deliberately crippling a > service. > > p.s. Those logs are unreadable - they are a blob with no line breaks. > --------------- > Phil Wilson > > > On Fri, Feb 28, 2014 at 2:18 PM, faujong <[hidden > email]<http://user/SendEmail.jtp?type=node&node=7593035&i=0>> > wrote: > > > 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 > > [hidden email] <http://user/SendEmail.jtp?type=node&node=7593035&i=1> > > https://lists.sourceforge.net/lists/listinfo/wix-users > > ------------------------------------------------------------------------------ > > 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 > [hidden email] <http://user/SendEmail.jtp?type=node&node=7593035&i=2> > https://lists.sourceforge.net/lists/listinfo/wix-users > > > ------------------------------ > If you reply to this email, your message will be added to the discussion > below: > > http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/How-to-not-copy-a-file-in-subsequent-installations-tp7592929p7593035.html > To unsubscribe from How to not copy a file in subsequent installations?, > click > here<http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=7592929&code=ZmllZmllLm5pbGVzQGdtYWlsLmNvbXw3NTkyOTI5fDE0Mjk5NjU1NjI=> > . > NAML<http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml> > -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/How-to-not-copy-a-file-in-subsequent-installations-tp7592929p7593036.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