Re: [WiX-users] How to add a dialog box when uninstall
Hi Blair, I really appreciate your efforts on this issue. Yes, "how maintenance-mode UI is supposed to work?" - This is the question I'd ask. So anyone, if you happen to know "how maintenance-mode UI is supposed to work" or any useful link as you know of, please let me know. Thanks you all! /Brian From: Blair To: General discussion for Windows Installer XML toolset. Sent: Tuesday, September 1, 2009 10:34:28 PM Subject: Re: [WiX-users] How to add a dialog box when uninstall Maybe there is a bug in the WiXUI. I have never used WiX's UI in any product I've shipped, and we recently started shipping languages that Windows Installer's UI doesn't support very well at all, so we dropped in-MSI UI entirely when we went with bootstrappers to manage our UI in a unified way for our suite (similar to what Office and Developer Division at MSFT had already done). Looking closely at the source code, I don't see the expected "EndDialog" publish event. The Property is set from pushing the Remove button and something is supposed to register that as a REMOVE=ALL type setting (eventually) but Next is disabled in that window and no other events seem to be triggered looking at the source code.. I need to push this back to the WiX team to see who knows how WiXUI is put together and how maintenance-mode UI is supposed to work. -Original Message- From: little.forest [mailto:little.for...@ymail.com] Sent: Tuesday, September 01, 2009 4:23 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] How to add a dialog box when uninstall The mail was sent before it was finished. Let me continue. Ok, I went a little trouble to get the MaintenanceTypeDlg.wxs from the Wix source and put it in my project. I renamed it as MyMaintenanceTypeDlg.wxs. Then I removed this line: ARPNOREMOVE I also changed MyWixUI_InstallDir.wxs for this line to use the changed MaintenanceTypeDlg: 1 Then I compiled and run. I did see the [Remove] button, but when I clicked on it, nothing happened. Here is the InstallUISequence table from msi: AppSearch50 CostInitialize800 FileCost900 CostFinalize1000 FatalError-3 UserExit-2 MyExitDialog-1 ExecuteAction1300 PrepareDlg49 ProgressDlg1299 ResumeDlgInstalled AND (RESUME OR Preselected)1297 WelcomeDlgNOT Installed1298 MaintenanceWelcomeDlgInstalled AND NOT RESUME AND NOT Preselected1296 NewerVersionDetectedNEWAPPFOUND201 LaunchConditions100 FindRelatedProducts200 ValidateProductID700 Here is the log when I uninstalled it: MSI (c) (94:B8) [16:20:58:774]: Doing action: MaintenanceWelcomeDlg MSI (c) (94:B8) [16:20:58:774]: Note: 1: 2205 2: 3: ActionText Action 16:20:58: MaintenanceWelcomeDlg. Action start 16:20:58: MaintenanceWelcomeDlg. Action 16:20:58: MaintenanceWelcomeDlg. Dialog created MSI (c) (94:CC) [16:20:58:852]: PROPERTY CHANGE: Modifying CostingComplete property. Its current value is '0'. Its new value: '1'. MSI (c) (94:CC) [16:20:58:852]: Note: 1: 2205 2: 3: BindImage MSI (c) (94:CC) [16:20:58:852]: Note: 1: 2205 2: 3: ProgId MSI (c) (94:CC) [16:20:58:852]: Note: 1: 2205 2: 3: PublishComponent MSI (c) (94:CC) [16:20:58:852]: Note: 1: 2205 2: 3: SelfReg MSI (c) (94:CC) [16:20:58:852]: Note: 1: 2205 2: 3: Extension MSI (c) (94:CC) [16:20:58:852]: Note: 1: 2205 2: 3: Font MSI (c) (94:CC) [16:20:58:852]: Note: 1: 2205 2: 3: Class MSI (c) (94:CC) [16:20:58:852]: Note: 1: 2727 2: MSI (c) (94:CC) [16:20:59:727]: Note: 1: 2205 2: 3: Error MSI (c) (94:CC) [16:20:59:727]: Note: 1: 2228 2: 3: Error 4: SELECT `Message` FROM `Error` WHERE `Error` = 2898 Info 2898. WixUI_Font_Title, Tahoma, 1 Action 16:20:59: MyMaintenanceTypeDlg. Dialog created MSI (c) (94:CC) [16:21:01:805]: PROPERTY CHANGE: Adding WixUI_InstallMode property. Its value is 'Remove'. Action 16:21:04: CancelDlg. Dialog created Action ended 16:21:05: MaintenanceWelcomeDlg. Return value 2. MSI (c) (94:B8) [16:21:05:446]: Doing action: UserExit MSI (c) (94:B8) [16:21:05:446]: Note: 1: 2205 2: 3: ActionText Action 16:21:05: UserExit. Action start 16:21:05: UserExit. Action 16:21:05: UserExit. Dialog created Action ended 16:21:06: UserExit. Return value 2. Action ended 16:21:06: INSTALL. Return value 2. Thanks. From: Blair To: General discussion for Windows Installer XML toolset. Sent: Tuesday, September 1, 2009 3:25:49 PM Subject: Re: [WiX-users] How to add a dialog box when uninstall In your copy of MaintenanceTypeDlg.wxs remove the condition on the Remove button. That is the button you want to click to uninstall from the UI. -Original Message- From: little.forest [mailto:little.for...@ymail.com] Sent: Tuesday, September 01, 2009 3:10 PM To: General discussio
Re: [WiX-users] How to add a dialog box when uninstall
Maybe there is a bug in the WiXUI. I have never used WiX's UI in any product I've shipped, and we recently started shipping languages that Windows Installer's UI doesn't support very well at all, so we dropped in-MSI UI entirely when we went with bootstrappers to manage our UI in a unified way for our suite (similar to what Office and Developer Division at MSFT had already done). Looking closely at the source code, I don't see the expected "EndDialog" publish event. The Property is set from pushing the Remove button and something is supposed to register that as a REMOVE=ALL type setting (eventually) but Next is disabled in that window and no other events seem to be triggered looking at the source code. I need to push this back to the WiX team to see who knows how WiXUI is put together and how maintenance-mode UI is supposed to work. -Original Message- From: little.forest [mailto:little.for...@ymail.com] Sent: Tuesday, September 01, 2009 4:23 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] How to add a dialog box when uninstall The mail was sent before it was finished. Let me continue. Ok, I went a little trouble to get the MaintenanceTypeDlg.wxs from the Wix source and put it in my project. I renamed it as MyMaintenanceTypeDlg.wxs. Then I removed this line: ARPNOREMOVE I also changed MyWixUI_InstallDir.wxs for this line to use the changed MaintenanceTypeDlg: 1 Then I compiled and run. I did see the [Remove] button, but when I clicked on it, nothing happened. Here is the InstallUISequence table from msi: AppSearch 50 CostInitialize 800 FileCost900 CostFinalize1000 FatalError -3 UserExit-2 MyExitDialog-1 ExecuteAction 1300 PrepareDlg 49 ProgressDlg 1299 ResumeDlg Installed AND (RESUME OR Preselected) 1297 WelcomeDlg NOT Installed 1298 MaintenanceWelcomeDlg Installed AND NOT RESUME AND NOT Preselected1296 NewerVersionDetectedNEWAPPFOUND 201 LaunchConditions100 FindRelatedProducts 200 ValidateProductID 700 Here is the log when I uninstalled it: MSI (c) (94:B8) [16:20:58:774]: Doing action: MaintenanceWelcomeDlg MSI (c) (94:B8) [16:20:58:774]: Note: 1: 2205 2: 3: ActionText Action 16:20:58: MaintenanceWelcomeDlg. Action start 16:20:58: MaintenanceWelcomeDlg. Action 16:20:58: MaintenanceWelcomeDlg. Dialog created MSI (c) (94:CC) [16:20:58:852]: PROPERTY CHANGE: Modifying CostingComplete property. Its current value is '0'. Its new value: '1'. MSI (c) (94:CC) [16:20:58:852]: Note: 1: 2205 2: 3: BindImage MSI (c) (94:CC) [16:20:58:852]: Note: 1: 2205 2: 3: ProgId MSI (c) (94:CC) [16:20:58:852]: Note: 1: 2205 2: 3: PublishComponent MSI (c) (94:CC) [16:20:58:852]: Note: 1: 2205 2: 3: SelfReg MSI (c) (94:CC) [16:20:58:852]: Note: 1: 2205 2: 3: Extension MSI (c) (94:CC) [16:20:58:852]: Note: 1: 2205 2: 3: Font MSI (c) (94:CC) [16:20:58:852]: Note: 1: 2205 2: 3: Class MSI (c) (94:CC) [16:20:58:852]: Note: 1: 2727 2: MSI (c) (94:CC) [16:20:59:727]: Note: 1: 2205 2: 3: Error MSI (c) (94:CC) [16:20:59:727]: Note: 1: 2228 2: 3: Error 4: SELECT `Message` FROM `Error` WHERE `Error` = 2898 Info 2898. WixUI_Font_Title, Tahoma, 1 Action 16:20:59: MyMaintenanceTypeDlg. Dialog created MSI (c) (94:CC) [16:21:01:805]: PROPERTY CHANGE: Adding WixUI_InstallMode property. Its value is 'Remove'. Action 16:21:04: CancelDlg. Dialog created Action ended 16:21:05: MaintenanceWelcomeDlg. Return value 2. MSI (c) (94:B8) [16:21:05:446]: Doing action: UserExit MSI (c) (94:B8) [16:21:05:446]: Note: 1: 2205 2: 3: ActionText Action 16:21:05: UserExit. Action start 16:21:05: UserExit. Action 16:21:05: UserExit. Dialog created Action ended 16:21:06: UserExit. Return value 2. Action ended 16:21:06: INSTALL. Return value 2. Thanks. From: Blair To: General discussion for Windows Installer XML toolset. Sent: Tuesday, September 1, 2009 3:25:49 PM Subject: Re: [WiX-users] How to add a dialog box when uninstall In your copy of MaintenanceTypeDlg.wxs remove the condition on the Remove button. That is the button you want to click to uninstall from the UI. -Original Message- From: little.forest [mailto:little.for...@ymail.com] Sent: Tuesday, September 01, 2009 3:10 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] How to add a dialog box when uninstall Thanks Blair! Here is the InstallUISequence table: AppSearch50 CostInitialize800 FileCost900 CostFinalize1000 FatalError-3 UserExit-2 MyExitDialog-1 ExecuteAction1300 PrepareDlg49 ProgressDlg1299 ResumeDlgInstalled AND (RESUME OR Preselected)1297 WelcomeDlgNOT Installed1298 Maintenan
Re: [WiX-users] How to add a dialog box when uninstall
The mail was sent before it was finished. Let me continue. Ok, I went a little trouble to get the MaintenanceTypeDlg.wxs from the Wix source and put it in my project. I renamed it as MyMaintenanceTypeDlg.wxs. Then I removed this line: ARPNOREMOVE I also changed MyWixUI_InstallDir.wxs for this line to use the changed MaintenanceTypeDlg: 1 Then I compiled and run. I did see the [Remove] button, but when I clicked on it, nothing happened. Here is the InstallUISequence table from msi: AppSearch 50 CostInitialize 800 FileCost900 CostFinalize1000 FatalError -3 UserExit-2 MyExitDialog-1 ExecuteAction 1300 PrepareDlg 49 ProgressDlg 1299 ResumeDlg Installed AND (RESUME OR Preselected) 1297 WelcomeDlg NOT Installed 1298 MaintenanceWelcomeDlg Installed AND NOT RESUME AND NOT Preselected1296 NewerVersionDetectedNEWAPPFOUND 201 LaunchConditions100 FindRelatedProducts 200 ValidateProductID 700 Here is the log when I uninstalled it: MSI (c) (94:B8) [16:20:58:774]: Doing action: MaintenanceWelcomeDlg MSI (c) (94:B8) [16:20:58:774]: Note: 1: 2205 2: 3: ActionText Action 16:20:58: MaintenanceWelcomeDlg. Action start 16:20:58: MaintenanceWelcomeDlg. Action 16:20:58: MaintenanceWelcomeDlg. Dialog created MSI (c) (94:CC) [16:20:58:852]: PROPERTY CHANGE: Modifying CostingComplete property. Its current value is '0'. Its new value: '1'. MSI (c) (94:CC) [16:20:58:852]: Note: 1: 2205 2: 3: BindImage MSI (c) (94:CC) [16:20:58:852]: Note: 1: 2205 2: 3: ProgId MSI (c) (94:CC) [16:20:58:852]: Note: 1: 2205 2: 3: PublishComponent MSI (c) (94:CC) [16:20:58:852]: Note: 1: 2205 2: 3: SelfReg MSI (c) (94:CC) [16:20:58:852]: Note: 1: 2205 2: 3: Extension MSI (c) (94:CC) [16:20:58:852]: Note: 1: 2205 2: 3: Font MSI (c) (94:CC) [16:20:58:852]: Note: 1: 2205 2: 3: Class MSI (c) (94:CC) [16:20:58:852]: Note: 1: 2727 2: MSI (c) (94:CC) [16:20:59:727]: Note: 1: 2205 2: 3: Error MSI (c) (94:CC) [16:20:59:727]: Note: 1: 2228 2: 3: Error 4: SELECT `Message` FROM `Error` WHERE `Error` = 2898 Info 2898. WixUI_Font_Title, Tahoma, 1 Action 16:20:59: MyMaintenanceTypeDlg. Dialog created MSI (c) (94:CC) [16:21:01:805]: PROPERTY CHANGE: Adding WixUI_InstallMode property. Its value is 'Remove'. Action 16:21:04: CancelDlg. Dialog created Action ended 16:21:05: MaintenanceWelcomeDlg. Return value 2. MSI (c) (94:B8) [16:21:05:446]: Doing action: UserExit MSI (c) (94:B8) [16:21:05:446]: Note: 1: 2205 2: 3: ActionText Action 16:21:05: UserExit. Action start 16:21:05: UserExit. Action 16:21:05: UserExit. Dialog created Action ended 16:21:06: UserExit. Return value 2. Action ended 16:21:06: INSTALL. Return value 2. Thanks. From: Blair To: General discussion for Windows Installer XML toolset. Sent: Tuesday, September 1, 2009 3:25:49 PM Subject: Re: [WiX-users] How to add a dialog box when uninstall In your copy of MaintenanceTypeDlg.wxs remove the condition on the Remove button. That is the button you want to click to uninstall from the UI. -Original Message- From: little.forest [mailto:little.for...@ymail.com] Sent: Tuesday, September 01, 2009 3:10 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] How to add a dialog box when uninstall Thanks Blair! Here is the InstallUISequence table: AppSearch50 CostInitialize800 FileCost900 CostFinalize1000 FatalError-3 UserExit-2 MyExitDialog-1 ExecuteAction1300 PrepareDlg49 ProgressDlg1299 ResumeDlgInstalled AND (RESUME OR Preselected)1297 WelcomeDlgNOT Installed1298 MaintenanceWelcomeDlgInstalled AND NOT RESUME AND NOT Preselected1296 NewerVersionDetectedNEWAPPFOUND201 LaunchConditions100 FindRelatedProducts200 ValidateProductID700 Here is the log when I run msi again to try to uninstall it. What I did were just: start the msi, saw the 'Welcome to the app 3.0 Setup Wizard', clicked [Next] button, clicked [Change] button, nothing happened though. I then click the [Cancel] to exit: MSI (c) (A0:F8) [15:01:14:290]: Doing action: MaintenanceWelcomeDlg MSI (c) (A0:F8) [15:01:14:290]: Note: 1: 2205 2: 3: ActionText Action 15:01:14: MaintenanceWelcomeDlg. Action start 15:01:14: MaintenanceWelcomeDlg. Action 15:01:14: MaintenanceWelcomeDlg. Dialog created MSI (c) (A0:38) [15:01:14:352]: PROPERTY CHANGE: Modifying CostingComplete property. Its current value is '0'. Its new value: '1'. MSI (c) (A0:38) [15:01:14:352]: Note: 1: 2205 2: 3: BindImage MSI (c) (A0:38) [15:01:14:352]: Note: 1: 2205 2: 3: ProgId MSI (c) (A0:38) [15:01:14:352]: Note: 1: 2205 2: 3: PublishComponent MSI (c) (A0:38) [15:01:14:352]:
Re: [WiX-users] How to add a dialog box when uninstall
Ok, I went a little trouble to get the MaintenanceTypeDlg.wxs from the Wix source and put it in my project. I renamed it as MyMaintenanceTypeDlg.wxs. I also changed MyWixUI_InstallDir.wxs for this line: AppSearch 50 CostInitialize 800 FileCost900 CostFinalize1000 FatalError -3 UserExit-2 MyExitDialog-1 ExecuteAction 1300 PrepareDlg 49 ProgressDlg 1299 ResumeDlg Installed AND (RESUME OR Preselected) 1297 WelcomeDlg NOT Installed 1298 MaintenanceWelcomeDlg Installed AND NOT RESUME AND NOT Preselected1296 NewerVersionDetectedNEWAPPFOUND 201 LaunchConditions100 FindRelatedProducts 200 ValidateProductID 700 From: Blair To: General discussion for Windows Installer XML toolset. Sent: Tuesday, September 1, 2009 3:25:49 PM Subject: Re: [WiX-users] How to add a dialog box when uninstall In your copy of MaintenanceTypeDlg.wxs remove the condition on the Remove button. That is the button you want to click to uninstall from the UI. -Original Message- From: little.forest [mailto:little.for...@ymail.com] Sent: Tuesday, September 01, 2009 3:10 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] How to add a dialog box when uninstall Thanks Blair! Here is the InstallUISequence table: AppSearch50 CostInitialize800 FileCost900 CostFinalize1000 FatalError-3 UserExit-2 MyExitDialog-1 ExecuteAction1300 PrepareDlg49 ProgressDlg1299 ResumeDlgInstalled AND (RESUME OR Preselected)1297 WelcomeDlgNOT Installed1298 MaintenanceWelcomeDlgInstalled AND NOT RESUME AND NOT Preselected1296 NewerVersionDetectedNEWAPPFOUND201 LaunchConditions100 FindRelatedProducts200 ValidateProductID700 Here is the log when I run msi again to try to uninstall it. What I did were just: start the msi, saw the 'Welcome to the app 3.0 Setup Wizard', clicked [Next] button, clicked [Change] button, nothing happened though. I then click the [Cancel] to exit: MSI (c) (A0:F8) [15:01:14:290]: Doing action: MaintenanceWelcomeDlg MSI (c) (A0:F8) [15:01:14:290]: Note: 1: 2205 2: 3: ActionText Action 15:01:14: MaintenanceWelcomeDlg. Action start 15:01:14: MaintenanceWelcomeDlg. Action 15:01:14: MaintenanceWelcomeDlg. Dialog created MSI (c) (A0:38) [15:01:14:352]: PROPERTY CHANGE: Modifying CostingComplete property. Its current value is '0'. Its new value: '1'. MSI (c) (A0:38) [15:01:14:352]: Note: 1: 2205 2: 3: BindImage MSI (c) (A0:38) [15:01:14:352]: Note: 1: 2205 2: 3: ProgId MSI (c) (A0:38) [15:01:14:352]: Note: 1: 2205 2: 3: PublishComponent MSI (c) (A0:38) [15:01:14:352]: Note: 1: 2205 2: 3: SelfReg MSI (c) (A0:38) [15:01:14:352]: Note: 1: 2205 2: 3: Extension MSI (c) (A0:38) [15:01:14:352]: Note: 1: 2205 2: 3: Font MSI (c) (A0:38) [15:01:14:352]: Note: 1: 2205 2: 3: Class MSI (c) (A0:38) [15:01:14:352]: Note: 1: 2727 2: MSI (c) (A0:38) [15:01:15:352]: Note: 1: 2205 2: 3: Error MSI (c) (A0:38) [15:01:15:352]: Note: 1: 2228 2: 3: Error 4: SELECT `Message` FROM `Error` WHERE `Error` = 2898 Info 2898. WixUI_Font_Title, Tahoma, 1 Action 15:01:15: MaintenanceTypeDlg. Dialog created MSI (c) (A0:38) [15:01:16:884]: PROPERTY CHANGE: Adding WixUI_InstallMode property. Its value is 'Change'. Action 15:01:20: CancelDlg. Dialog created Action ended 15:01:21: MaintenanceWelcomeDlg. Return value 2. MSI (c) (A0:F8) [15:01:21:634]: Doing action: UserExit MSI (c) (A0:F8) [15:01:21:634]: Note: 1: 2205 2: 3: ActionText Action 15:01:21: UserExit. Action start 15:01:21: UserExit. Action 15:01:21: UserExit. Dialog created Action ended 15:01:22: UserExit. Return value 2. Action ended 15:01:22: INSTALL. Return value 2. From: Blair To: General discussion for Windows Installer XML toolset. Sent: Tuesday, September 1, 2009 2:28:12 PM Subject: Re: [WiX-users] How to add a dialog box when uninstall >From Orca, what is in your InstallUISequence table? What does a verbose debug log look like in the (client) phase? Does the MaintenanceWelcomeDlg text show up at all? -Original Message- From: little.forest [mailto:little.for...@ymail.com] Sent: Tuesday, September 01, 2009 2:05 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] How to add a dialog box when uninstall Thanks Blair. Sure, I totally agree that we should make it work first. So I just added that MaintenanceWelcomeDlg line and tried. When uninstalling, I hit the "Change" button, still nothing happens. Is there something else I can try? Many thanks. From: Blair To: General discussion for Windows Installer XML t
Re: [WiX-users] How to add a dialog box when uninstall
In your copy of MaintenanceTypeDlg.wxs remove the condition on the Remove button. That is the button you want to click to uninstall from the UI. -Original Message- From: little.forest [mailto:little.for...@ymail.com] Sent: Tuesday, September 01, 2009 3:10 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] How to add a dialog box when uninstall Thanks Blair! Here is the InstallUISequence table: AppSearch 50 CostInitialize 800 FileCost900 CostFinalize1000 FatalError -3 UserExit-2 MyExitDialog-1 ExecuteAction 1300 PrepareDlg 49 ProgressDlg 1299 ResumeDlg Installed AND (RESUME OR Preselected) 1297 WelcomeDlg NOT Installed 1298 MaintenanceWelcomeDlg Installed AND NOT RESUME AND NOT Preselected1296 NewerVersionDetectedNEWAPPFOUND 201 LaunchConditions100 FindRelatedProducts 200 ValidateProductID 700 Here is the log when I run msi again to try to uninstall it. What I did were just: start the msi, saw the 'Welcome to the app 3.0 Setup Wizard', clicked [Next] button, clicked [Change] button, nothing happened though. I then click the [Cancel] to exit: MSI (c) (A0:F8) [15:01:14:290]: Doing action: MaintenanceWelcomeDlg MSI (c) (A0:F8) [15:01:14:290]: Note: 1: 2205 2: 3: ActionText Action 15:01:14: MaintenanceWelcomeDlg. Action start 15:01:14: MaintenanceWelcomeDlg. Action 15:01:14: MaintenanceWelcomeDlg. Dialog created MSI (c) (A0:38) [15:01:14:352]: PROPERTY CHANGE: Modifying CostingComplete property. Its current value is '0'. Its new value: '1'. MSI (c) (A0:38) [15:01:14:352]: Note: 1: 2205 2: 3: BindImage MSI (c) (A0:38) [15:01:14:352]: Note: 1: 2205 2: 3: ProgId MSI (c) (A0:38) [15:01:14:352]: Note: 1: 2205 2: 3: PublishComponent MSI (c) (A0:38) [15:01:14:352]: Note: 1: 2205 2: 3: SelfReg MSI (c) (A0:38) [15:01:14:352]: Note: 1: 2205 2: 3: Extension MSI (c) (A0:38) [15:01:14:352]: Note: 1: 2205 2: 3: Font MSI (c) (A0:38) [15:01:14:352]: Note: 1: 2205 2: 3: Class MSI (c) (A0:38) [15:01:14:352]: Note: 1: 2727 2: MSI (c) (A0:38) [15:01:15:352]: Note: 1: 2205 2: 3: Error MSI (c) (A0:38) [15:01:15:352]: Note: 1: 2228 2: 3: Error 4: SELECT `Message` FROM `Error` WHERE `Error` = 2898 Info 2898. WixUI_Font_Title, Tahoma, 1 Action 15:01:15: MaintenanceTypeDlg. Dialog created MSI (c) (A0:38) [15:01:16:884]: PROPERTY CHANGE: Adding WixUI_InstallMode property. Its value is 'Change'. Action 15:01:20: CancelDlg. Dialog created Action ended 15:01:21: MaintenanceWelcomeDlg. Return value 2. MSI (c) (A0:F8) [15:01:21:634]: Doing action: UserExit MSI (c) (A0:F8) [15:01:21:634]: Note: 1: 2205 2: 3: ActionText Action 15:01:21: UserExit. Action start 15:01:21: UserExit. Action 15:01:21: UserExit. Dialog created Action ended 15:01:22: UserExit. Return value 2. Action ended 15:01:22: INSTALL. Return value 2. From: Blair To: General discussion for Windows Installer XML toolset. Sent: Tuesday, September 1, 2009 2:28:12 PM Subject: Re: [WiX-users] How to add a dialog box when uninstall >From Orca, what is in your InstallUISequence table? What does a verbose debug log look like in the (client) phase? Does the MaintenanceWelcomeDlg text show up at all? -Original Message- From: little.forest [mailto:little.for...@ymail.com] Sent: Tuesday, September 01, 2009 2:05 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] How to add a dialog box when uninstall Thanks Blair. Sure, I totally agree that we should make it work first. So I just added that MaintenanceWelcomeDlg line and tried. When uninstalling, I hit the "Change" button, still nothing happens. Is there something else I can try? Many thanks. From: Blair To: General discussion for Windows Installer XML toolset. Sent: Tuesday, September 1, 2009 12:45:48 PM Subject: Re: [WiX-users] How to add a dialog box when uninstall Not sure why this would be needed, but try adding mailto:little.for...@ymail.com] Sent: Tuesday, September 01, 2009 10:39 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] How to add a dialog box when uninstall Thanks Blair! I checked, there is this line in WixUI_InstallDir.wxs: So I removed this line. And added these two lines in my main wxs: I Built it and installed it. After that, I double clicked the msi again, I see the "Repair" and "Remove" buttons are grayed out, the "Change" button is clickable. I clicked the 'Change' button, but there is nothing happening. What should I do the make "Change" button work? Also, is there other ways to trigger uninstallation process by not double clicking the original msi file? For our end users
Re: [WiX-users] How to add a dialog box when uninstall
Thanks Blair! Here is the InstallUISequence table: AppSearch 50 CostInitialize 800 FileCost900 CostFinalize1000 FatalError -3 UserExit-2 MyExitDialog-1 ExecuteAction 1300 PrepareDlg 49 ProgressDlg 1299 ResumeDlg Installed AND (RESUME OR Preselected) 1297 WelcomeDlg NOT Installed 1298 MaintenanceWelcomeDlg Installed AND NOT RESUME AND NOT Preselected1296 NewerVersionDetectedNEWAPPFOUND 201 LaunchConditions100 FindRelatedProducts 200 ValidateProductID 700 Here is the log when I run msi again to try to uninstall it. What I did were just: start the msi, saw the 'Welcome to the app 3.0 Setup Wizard', clicked [Next] button, clicked [Change] button, nothing happened though. I then click the [Cancel] to exit: MSI (c) (A0:F8) [15:01:14:290]: Doing action: MaintenanceWelcomeDlg MSI (c) (A0:F8) [15:01:14:290]: Note: 1: 2205 2: 3: ActionText Action 15:01:14: MaintenanceWelcomeDlg. Action start 15:01:14: MaintenanceWelcomeDlg. Action 15:01:14: MaintenanceWelcomeDlg. Dialog created MSI (c) (A0:38) [15:01:14:352]: PROPERTY CHANGE: Modifying CostingComplete property. Its current value is '0'. Its new value: '1'. MSI (c) (A0:38) [15:01:14:352]: Note: 1: 2205 2: 3: BindImage MSI (c) (A0:38) [15:01:14:352]: Note: 1: 2205 2: 3: ProgId MSI (c) (A0:38) [15:01:14:352]: Note: 1: 2205 2: 3: PublishComponent MSI (c) (A0:38) [15:01:14:352]: Note: 1: 2205 2: 3: SelfReg MSI (c) (A0:38) [15:01:14:352]: Note: 1: 2205 2: 3: Extension MSI (c) (A0:38) [15:01:14:352]: Note: 1: 2205 2: 3: Font MSI (c) (A0:38) [15:01:14:352]: Note: 1: 2205 2: 3: Class MSI (c) (A0:38) [15:01:14:352]: Note: 1: 2727 2: MSI (c) (A0:38) [15:01:15:352]: Note: 1: 2205 2: 3: Error MSI (c) (A0:38) [15:01:15:352]: Note: 1: 2228 2: 3: Error 4: SELECT `Message` FROM `Error` WHERE `Error` = 2898 Info 2898. WixUI_Font_Title, Tahoma, 1 Action 15:01:15: MaintenanceTypeDlg. Dialog created MSI (c) (A0:38) [15:01:16:884]: PROPERTY CHANGE: Adding WixUI_InstallMode property. Its value is 'Change'. Action 15:01:20: CancelDlg. Dialog created Action ended 15:01:21: MaintenanceWelcomeDlg. Return value 2. MSI (c) (A0:F8) [15:01:21:634]: Doing action: UserExit MSI (c) (A0:F8) [15:01:21:634]: Note: 1: 2205 2: 3: ActionText Action 15:01:21: UserExit. Action start 15:01:21: UserExit. Action 15:01:21: UserExit. Dialog created Action ended 15:01:22: UserExit. Return value 2. Action ended 15:01:22: INSTALL. Return value 2. From: Blair To: General discussion for Windows Installer XML toolset. Sent: Tuesday, September 1, 2009 2:28:12 PM Subject: Re: [WiX-users] How to add a dialog box when uninstall >From Orca, what is in your InstallUISequence table? What does a verbose debug log look like in the (client) phase? Does the MaintenanceWelcomeDlg text show up at all? -Original Message- From: little.forest [mailto:little.for...@ymail.com] Sent: Tuesday, September 01, 2009 2:05 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] How to add a dialog box when uninstall Thanks Blair. Sure, I totally agree that we should make it work first. So I just added that MaintenanceWelcomeDlg line and tried. When uninstalling, I hit the "Change" button, still nothing happens. Is there something else I can try? Many thanks. From: Blair To: General discussion for Windows Installer XML toolset. Sent: Tuesday, September 1, 2009 12:45:48 PM Subject: Re: [WiX-users] How to add a dialog box when uninstall Not sure why this would be needed, but try adding mailto:little.for...@ymail.com] Sent: Tuesday, September 01, 2009 10:39 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] How to add a dialog box when uninstall Thanks Blair! I checked, there is this line in WixUI_InstallDir.wxs: So I removed this line. And added these two lines in my main wxs: I Built it and installed it. After that, I double clicked the msi again, I see the "Repair" and "Remove" buttons are grayed out, the "Change" button is clickable. I clicked the 'Change' button, but there is nothing happening. What should I do the make "Change" button work? Also, is there other ways to trigger uninstallation process by not double clicking the original msi file? For our end users, I guess no one would do the uninstallation by clicking the msi file. The reason for that is, they may just download the file to a temp download folder or so, install it, and then forget about the msi file location. If now we tell them to "double click the original msi to uninstall it", it'll be not that practical. Ideally, uninstalling the application by clicking
Re: [WiX-users] How to add a dialog box when uninstall
>From Orca, what is in your InstallUISequence table? What does a verbose debug log look like in the (client) phase? Does the MaintenanceWelcomeDlg text show up at all? -Original Message- From: little.forest [mailto:little.for...@ymail.com] Sent: Tuesday, September 01, 2009 2:05 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] How to add a dialog box when uninstall Thanks Blair. Sure, I totally agree that we should make it work first. So I just added that MaintenanceWelcomeDlg line and tried. When uninstalling, I hit the "Change" button, still nothing happens. Is there something else I can try? Many thanks. From: Blair To: General discussion for Windows Installer XML toolset. Sent: Tuesday, September 1, 2009 12:45:48 PM Subject: Re: [WiX-users] How to add a dialog box when uninstall Not sure why this would be needed, but try adding mailto:little.for...@ymail.com] Sent: Tuesday, September 01, 2009 10:39 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] How to add a dialog box when uninstall Thanks Blair! I checked, there is this line in WixUI_InstallDir.wxs: So I removed this line. And added these two lines in my main wxs: I Built it and installed it. After that, I double clicked the msi again, I see the "Repair" and "Remove" buttons are grayed out, the "Change" button is clickable. I clicked the 'Change' button, but there is nothing happening. What should I do the make "Change" button work? Also, is there other ways to trigger uninstallation process by not double clicking the original msi file? For our end users, I guess no one would do the uninstallation by clicking the msi file. The reason for that is, they may just download the file to a temp download folder or so, install it, and then forget about the msi file location. If now we tell them to "double click the original msi to uninstall it", it'll be not that practical. Ideally, uninstalling the application by clicking the shortcut in [Start]->[All Programs] system menu. Is it possible? Thanks. From: Blair To: General discussion for Windows Installer XML toolset. Sent: Monday, August 31, 2009 7:50:10 PM Subject: Re: [WiX-users] How to add a dialog box when uninstall If "Change" is grayed out you will not get the installer UI you are looking for. Is ARPNOMODIFY set perchance? After you install, what do you see if you double-click the MSI again? You should get the "Change" experience, which is your starting point to show a modal dialog during your uninstall experience. -Original Message- From: little.forest [mailto:little.for...@ymail.com] Sent: Monday, August 31, 2009 5:28 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] How to add a dialog box when uninstall By the way, I added this: Then I run the msi again, and I saw the "Change" and "Remove" buttons were grey out. There was only the "Repair" button available. Is this correct? Also, if I run uninstallation from [start]->[All Programs], I didn't even see this UI. I only saw the basic uninstallation progress bar. Thanks. ________ From: little.forest To: General discussion for Windows Installer XML toolset. Sent: Monday, August 31, 2009 5:07:42 PM Subject: Re: [WiX-users] How to add a dialog box when uninstall I kept searching for the answer about this issue. But I couldn't find any example to make it work. Can you Wix experts point me out? What else I need to do to show UI in uninstallation, namely, "enable maintenance mode"? And further how to add a radio button etc. to enable "remove user data option" during uninstallation? (Uninstallation: I mean, the end user clicks the uninstall shortcut from [start]=>[All Programs]. I don't mean the end user re-run the msi again, or through ARP, or through command line - because normally all of our end users don't run uninstallation these ways.) ________________________ From: little.forest To: General discussion for Windows Installer XML toolset. Sent: Monday, August 31, 2009 4:19:01 PM Subject: Re: [WiX-users] How to add a dialog box when uninstall Hi Aris, Thanks! I added this in code, then the "Remove" button is gone in ARP: But the uninstallation is still the simple progress bar. Could you please tell me how to "enable maintenance mode"? Thanks. ________ From: Aris J. Green To: General discussion for Windows Installer XML toolset. Sent: Thursday, August 27, 2009 10:20:29 AM Subject: Re: [WiX-users] How to add a dialog box when uninstall Disable uninstall from Add/Remove Programs, enable maintenance mode, which will show a GUI during uninstall. Then allow user to u
Re: [WiX-users] How to add a dialog box when uninstall
Thanks Blair. Sure, I totally agree that we should make it work first. So I just added that MaintenanceWelcomeDlg line and tried. When uninstalling, I hit the "Change" button, still nothing happens. Is there something else I can try? Many thanks. From: Blair To: General discussion for Windows Installer XML toolset. Sent: Tuesday, September 1, 2009 12:45:48 PM Subject: Re: [WiX-users] How to add a dialog box when uninstall Not sure why this would be needed, but try adding mailto:little.for...@ymail.com] Sent: Tuesday, September 01, 2009 10:39 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] How to add a dialog box when uninstall Thanks Blair! I checked, there is this line in WixUI_InstallDir.wxs: So I removed this line. And added these two lines in my main wxs: I Built it and installed it. After that, I double clicked the msi again, I see the "Repair" and "Remove" buttons are grayed out, the "Change" button is clickable. I clicked the 'Change' button, but there is nothing happening. What should I do the make "Change" button work? Also, is there other ways to trigger uninstallation process by not double clicking the original msi file? For our end users, I guess no one would do the uninstallation by clicking the msi file. The reason for that is, they may just download the file to a temp download folder or so, install it, and then forget about the msi file location. If now we tell them to "double click the original msi to uninstall it", it'll be not that practical. Ideally, uninstalling the application by clicking the shortcut in [Start]->[All Programs] system menu. Is it possible? Thanks. From: Blair To: General discussion for Windows Installer XML toolset. Sent: Monday, August 31, 2009 7:50:10 PM Subject: Re: [WiX-users] How to add a dialog box when uninstall If "Change" is grayed out you will not get the installer UI you are looking for. Is ARPNOMODIFY set perchance? After you install, what do you see if you double-click the MSI again? You should get the "Change" experience, which is your starting point to show a modal dialog during your uninstall experience. -Original Message- From: little.forest [mailto:little.for...@ymail.com] Sent: Monday, August 31, 2009 5:28 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] How to add a dialog box when uninstall By the way, I added this: Then I run the msi again, and I saw the "Change" and "Remove" buttons were grey out. There was only the "Repair" button available. Is this correct? Also, if I run uninstallation from [start]->[All Programs], I didn't even see this UI. I only saw the basic uninstallation progress bar. Thanks. ________ From: little.forest To: General discussion for Windows Installer XML toolset. Sent: Monday, August 31, 2009 5:07:42 PM Subject: Re: [WiX-users] How to add a dialog box when uninstall I kept searching for the answer about this issue. But I couldn't find any example to make it work. Can you Wix experts point me out? What else I need to do to show UI in uninstallation, namely, "enable maintenance mode"? And further how to add a radio button etc. to enable "remove user data option" during uninstallation? (Uninstallation: I mean, the end user clicks the uninstall shortcut from [start]=>[All Programs]. I don't mean the end user re-run the msi again, or through ARP, or through command line - because normally all of our end users don't run uninstallation these ways.) ____________________________ From: little.forest To: General discussion for Windows Installer XML toolset. Sent: Monday, August 31, 2009 4:19:01 PM Subject: Re: [WiX-users] How to add a dialog box when uninstall Hi Aris, Thanks! I added this in code, then the "Remove" button is gone in ARP: But the uninstallation is still the simple progress bar. Could you please tell me how to "enable maintenance mode"? Thanks. ____________ From: Aris J. Green To: General discussion for Windows Installer XML toolset. Sent: Thursday, August 27, 2009 10:20:29 AM Subject: Re: [WiX-users] How to add a dialog box when uninstall Disable uninstall from Add/Remove Programs, enable maintenance mode, which will show a GUI during uninstall. Then allow user to uninstall from maintenance, typically through a radio button selection that sets REMOVE=ALL. The you can prompt the user for what you need (e.g. a SQL password to drop a database, etc.) Set up the silent uninstall to proceed from the command line silently if you want this feature by passing in the proper parameters from the command line (e.g. "SAPWD= SERVER="). But you won't be able to run
Re: [WiX-users] How to add a dialog box when uninstall
Not sure why this would be needed, but try adding mailto:little.for...@ymail.com] Sent: Tuesday, September 01, 2009 10:39 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] How to add a dialog box when uninstall Thanks Blair! I checked, there is this line in WixUI_InstallDir.wxs: So I removed this line. And added these two lines in my main wxs: I Built it and installed it. After that, I double clicked the msi again, I see the "Repair" and "Remove" buttons are grayed out, the "Change" button is clickable. I clicked the 'Change' button, but there is nothing happening. What should I do the make "Change" button work? Also, is there other ways to trigger uninstallation process by not double clicking the original msi file? For our end users, I guess no one would do the uninstallation by clicking the msi file. The reason for that is, they may just download the file to a temp download folder or so, install it, and then forget about the msi file location. If now we tell them to "double click the original msi to uninstall it", it'll be not that practical. Ideally, uninstalling the application by clicking the shortcut in [Start]->[All Programs] system menu. Is it possible? Thanks. From: Blair To: General discussion for Windows Installer XML toolset. Sent: Monday, August 31, 2009 7:50:10 PM Subject: Re: [WiX-users] How to add a dialog box when uninstall If "Change" is grayed out you will not get the installer UI you are looking for. Is ARPNOMODIFY set perchance? After you install, what do you see if you double-click the MSI again? You should get the "Change" experience, which is your starting point to show a modal dialog during your uninstall experience. -Original Message- From: little.forest [mailto:little.for...@ymail.com] Sent: Monday, August 31, 2009 5:28 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] How to add a dialog box when uninstall By the way, I added this: Then I run the msi again, and I saw the "Change" and "Remove" buttons were grey out. There was only the "Repair" button available. Is this correct? Also, if I run uninstallation from [start]->[All Programs], I didn't even see this UI. I only saw the basic uninstallation progress bar. Thanks. From: little.forest To: General discussion for Windows Installer XML toolset. Sent: Monday, August 31, 2009 5:07:42 PM Subject: Re: [WiX-users] How to add a dialog box when uninstall I kept searching for the answer about this issue. But I couldn't find any example to make it work. Can you Wix experts point me out? What else I need to do to show UI in uninstallation, namely, "enable maintenance mode"? And further how to add a radio button etc. to enable "remove user data option" during uninstallation? (Uninstallation: I mean, the end user clicks the uninstall shortcut from [start]=>[All Programs]. I don't mean the end user re-run the msi again, or through ARP, or through command line - because normally all of our end users don't run uninstallation these ways.) ________________________ From: little.forest To: General discussion for Windows Installer XML toolset. Sent: Monday, August 31, 2009 4:19:01 PM Subject: Re: [WiX-users] How to add a dialog box when uninstall Hi Aris, Thanks! I added this in code, then the "Remove" button is gone in ARP: But the uninstallation is still the simple progress bar. Could you please tell me how to "enable maintenance mode"? Thanks. ____________________ From: Aris J. Green To: General discussion for Windows Installer XML toolset. Sent: Thursday, August 27, 2009 10:20:29 AM Subject: Re: [WiX-users] How to add a dialog box when uninstall Disable uninstall from Add/Remove Programs, enable maintenance mode, which will show a GUI during uninstall. Then allow user to uninstall from maintenance, typically through a radio button selection that sets REMOVE=ALL. The you can prompt the user for what you need (e.g. a SQL password to drop a database, etc.) Set up the silent uninstall to proceed from the command line silently if you want this feature by passing in the proper parameters from the command line (e.g. "SAPWD= SERVER="). But you won't be able to run this from ARP although. Regards, greenaj On Wed, 2009-08-26 at 09:18 +0200, Sebastian Brand (Instyler Software) wrote: > Hello, > > Windows Installer executes uninstall in Silent mode (no UI) mode only. To > show a dialog, you'll have to create a custom action to show a dialog, then > schedule that during uninstall. > > > Best regards, > Sebastian Brand > > Instyler Setup - Creating WiX-based MSI installations, elegantly. > http:
Re: [WiX-users] How to add a dialog box when uninstall
Thanks Blair! I checked, there is this line in WixUI_InstallDir.wxs: So I removed this line. And added these two lines in my main wxs: I Built it and installed it. After that, I double clicked the msi again, I see the "Repair" and "Remove" buttons are grayed out, the "Change" button is clickable. I clicked the 'Change' button, but there is nothing happening. What should I do the make "Change" button work? Also, is there other ways to trigger uninstallation process by not double clicking the original msi file? For our end users, I guess no one would do the uninstallation by clicking the msi file. The reason for that is, they may just download the file to a temp download folder or so, install it, and then forget about the msi file location. If now we tell them to "double click the original msi to uninstall it", it'll be not that practical. Ideally, uninstalling the application by clicking the shortcut in [Start]->[All Programs] system menu. Is it possible? Thanks. From: Blair To: General discussion for Windows Installer XML toolset. Sent: Monday, August 31, 2009 7:50:10 PM Subject: Re: [WiX-users] How to add a dialog box when uninstall If "Change" is grayed out you will not get the installer UI you are looking for. Is ARPNOMODIFY set perchance? After you install, what do you see if you double-click the MSI again? You should get the "Change" experience, which is your starting point to show a modal dialog during your uninstall experience. -Original Message- From: little.forest [mailto:little.for...@ymail.com] Sent: Monday, August 31, 2009 5:28 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] How to add a dialog box when uninstall By the way, I added this: Then I run the msi again, and I saw the "Change" and "Remove" buttons were grey out. There was only the "Repair" button available. Is this correct? Also, if I run uninstallation from [start]->[All Programs], I didn't even see this UI. I only saw the basic uninstallation progress bar. Thanks. From: little.forest To: General discussion for Windows Installer XML toolset. Sent: Monday, August 31, 2009 5:07:42 PM Subject: Re: [WiX-users] How to add a dialog box when uninstall I kept searching for the answer about this issue. But I couldn't find any example to make it work. Can you Wix experts point me out? What else I need to do to show UI in uninstallation, namely, "enable maintenance mode"? And further how to add a radio button etc. to enable "remove user data option" during uninstallation? (Uninstallation: I mean, the end user clicks the uninstall shortcut from [start]=>[All Programs]. I don't mean the end user re-run the msi again, or through ARP, or through command line - because normally all of our end users don't run uninstallation these ways.) ________________________ From: little.forest To: General discussion for Windows Installer XML toolset. Sent: Monday, August 31, 2009 4:19:01 PM Subject: Re: [WiX-users] How to add a dialog box when uninstall Hi Aris, Thanks! I added this in code, then the "Remove" button is gone in ARP: But the uninstallation is still the simple progress bar. Could you please tell me how to "enable maintenance mode"? Thanks. ____________________ From: Aris J. Green To: General discussion for Windows Installer XML toolset. Sent: Thursday, August 27, 2009 10:20:29 AM Subject: Re: [WiX-users] How to add a dialog box when uninstall Disable uninstall from Add/Remove Programs, enable maintenance mode, which will show a GUI during uninstall. Then allow user to uninstall from maintenance, typically through a radio button selection that sets REMOVE=ALL. The you can prompt the user for what you need (e.g. a SQL password to drop a database, etc.) Set up the silent uninstall to proceed from the command line silently if you want this feature by passing in the proper parameters from the command line (e.g. "SAPWD= SERVER="). But you won't be able to run this from ARP although. Regards, greenaj On Wed, 2009-08-26 at 09:18 +0200, Sebastian Brand (Instyler Software) wrote: > Hello, > > Windows Installer executes uninstall in Silent mode (no UI) mode only. To > show a dialog, you'll have to create a custom action to show a dialog, then > schedule that during uninstall. > > > Best regards, > Sebastian Brand > > Instyler Setup - Creating WiX-based MSI installations, elegantly. > http://www.instyler.com > > > -Original Message- > From: little.forest [mailto:little.for...@ymail.com] > Sent: Wednesday, August 26, 2009 09:04 > To: wix-users@lists.sourceforge.net > Subject: [WiX-users] How to add
Re: [WiX-users] How to add a dialog box when uninstall
If "Change" is grayed out you will not get the installer UI you are looking for. Is ARPNOMODIFY set perchance? After you install, what do you see if you double-click the MSI again? You should get the "Change" experience, which is your starting point to show a modal dialog during your uninstall experience. -Original Message- From: little.forest [mailto:little.for...@ymail.com] Sent: Monday, August 31, 2009 5:28 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] How to add a dialog box when uninstall By the way, I added this: Then I run the msi again, and I saw the "Change" and "Remove" buttons were grey out. There was only the "Repair" button available. Is this correct? Also, if I run uninstallation from [start]->[All Programs], I didn't even see this UI. I only saw the basic uninstallation progress bar. Thanks. From: little.forest To: General discussion for Windows Installer XML toolset. Sent: Monday, August 31, 2009 5:07:42 PM Subject: Re: [WiX-users] How to add a dialog box when uninstall I kept searching for the answer about this issue. But I couldn't find any example to make it work. Can you Wix experts point me out? What else I need to do to show UI in uninstallation, namely, "enable maintenance mode"? And further how to add a radio button etc. to enable "remove user data option" during uninstallation? (Uninstallation: I mean, the end user clicks the uninstall shortcut from [start]=>[All Programs]. I don't mean the end user re-run the msi again, or through ARP, or through command line - because normally all of our end users don't run uninstallation these ways.) From: little.forest To: General discussion for Windows Installer XML toolset. Sent: Monday, August 31, 2009 4:19:01 PM Subject: Re: [WiX-users] How to add a dialog box when uninstall Hi Aris, Thanks! I added this in code, then the "Remove" button is gone in ARP: But the uninstallation is still the simple progress bar. Could you please tell me how to "enable maintenance mode"? Thanks. From: Aris J. Green To: General discussion for Windows Installer XML toolset. Sent: Thursday, August 27, 2009 10:20:29 AM Subject: Re: [WiX-users] How to add a dialog box when uninstall Disable uninstall from Add/Remove Programs, enable maintenance mode, which will show a GUI during uninstall. Then allow user to uninstall from maintenance, typically through a radio button selection that sets REMOVE=ALL. The you can prompt the user for what you need (e.g. a SQL password to drop a database, etc.) Set up the silent uninstall to proceed from the command line silently if you want this feature by passing in the proper parameters from the command line (e.g. "SAPWD= SERVER="). But you won't be able to run this from ARP although. Regards, greenaj On Wed, 2009-08-26 at 09:18 +0200, Sebastian Brand (Instyler Software) wrote: > Hello, > > Windows Installer executes uninstall in Silent mode (no UI) mode only. To > show a dialog, you'll have to create a custom action to show a dialog, then > schedule that during uninstall. > > > Best regards, > Sebastian Brand > > Instyler Setup - Creating WiX-based MSI installations, elegantly. > http://www.instyler.com > > > -Original Message- > From: little.forest [mailto:little.for...@ymail.com] > Sent: Wednesday, August 26, 2009 09:04 > To: wix-users@lists.sourceforge.net > Subject: [WiX-users] How to add a dialog box when uninstall > > Hi, > > We're using WiX 3.0. How to add a dialog box when uninstall? > > We'd like to ask the end user if they want to delete their settings files in > AppData\Company\Product folder. If the answer is Yes, then we'll need to > delete that folder. And we only want this dialog box showing up when > manually uninstall by either click the uninstall shortcut or from ARP in > control panel. We do NOT want this dialog showing up when the user doing a > major upgrade(installing a higher version, the old version is uninstalled). > > Thanks. > /Brian > > > __ > Be smarter than spam. See how smart SpamGuard is at giving junk email the > boot with the All-new Yahoo! Mail. Click on Options in Mail and switch to > New Mail today or register for free at http://mail.yahoo.ca > > -- > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus > on what
Re: [WiX-users] How to add a dialog box when uninstall
By the way, I added this: Then I run the msi again, and I saw the "Change" and "Remove" buttons were grey out. There was only the "Repair" button available. Is this correct? Also, if I run uninstallation from [start]->[All Programs], I didn't even see this UI. I only saw the basic uninstallation progress bar. Thanks. From: little.forest To: General discussion for Windows Installer XML toolset. Sent: Monday, August 31, 2009 5:07:42 PM Subject: Re: [WiX-users] How to add a dialog box when uninstall I kept searching for the answer about this issue. But I couldn't find any example to make it work. Can you Wix experts point me out? What else I need to do to show UI in uninstallation, namely, "enable maintenance mode"? And further how to add a radio button etc. to enable "remove user data option" during uninstallation? (Uninstallation: I mean, the end user clicks the uninstall shortcut from [start]=>[All Programs]. I don't mean the end user re-run the msi again, or through ARP, or through command line - because normally all of our end users don't run uninstallation these ways.) From: little.forest To: General discussion for Windows Installer XML toolset. Sent: Monday, August 31, 2009 4:19:01 PM Subject: Re: [WiX-users] How to add a dialog box when uninstall Hi Aris, Thanks! I added this in code, then the "Remove" button is gone in ARP: But the uninstallation is still the simple progress bar. Could you please tell me how to "enable maintenance mode"? Thanks. From: Aris J. Green To: General discussion for Windows Installer XML toolset. Sent: Thursday, August 27, 2009 10:20:29 AM Subject: Re: [WiX-users] How to add a dialog box when uninstall Disable uninstall from Add/Remove Programs, enable maintenance mode, which will show a GUI during uninstall. Then allow user to uninstall from maintenance, typically through a radio button selection that sets REMOVE=ALL. The you can prompt the user for what you need (e.g. a SQL password to drop a database, etc.) Set up the silent uninstall to proceed from the command line silently if you want this feature by passing in the proper parameters from the command line (e.g. "SAPWD= SERVER="). But you won't be able to run this from ARP although. Regards, greenaj On Wed, 2009-08-26 at 09:18 +0200, Sebastian Brand (Instyler Software) wrote: > Hello, > > Windows Installer executes uninstall in Silent mode (no UI) mode only. To > show a dialog, you'll have to create a custom action to show a dialog, then > schedule that during uninstall. > > > Best regards, > Sebastian Brand > > Instyler Setup - Creating WiX-based MSI installations, elegantly. > http://www.instyler.com > > > -Original Message- > From: little.forest [mailto:little.for...@ymail.com] > Sent: Wednesday, August 26, 2009 09:04 > To: wix-users@lists.sourceforge.net > Subject: [WiX-users] How to add a dialog box when uninstall > > Hi, > > We're using WiX 3.0. How to add a dialog box when uninstall? > > We'd like to ask the end user if they want to delete their settings files in > AppData\Company\Product folder. If the answer is Yes, then we'll need to > delete that folder. And we only want this dialog box showing up when > manually uninstall by either click the uninstall shortcut or from ARP in > control panel. We do NOT want this dialog showing up when the user doing a > major upgrade(installing a higher version, the old version is uninstalled). > > Thanks. > /Brian > > > __ > Be smarter than spam. See how smart SpamGuard is at giving junk email the > boot with the All-new Yahoo! Mail. Click on Options in Mail and switch to > New Mail today or register for free at http://mail.yahoo.ca > > -- > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus > on what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > ___ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > > > -- > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and fo
Re: [WiX-users] How to add a dialog box when uninstall
I kept searching for the answer about this issue. But I couldn't find any example to make it work. Can you Wix experts point me out? What else I need to do to show UI in uninstallation, namely, "enable maintenance mode"? And further how to add a radio button etc. to enable "remove user data option" during uninstallation? (Uninstallation: I mean, the end user clicks the uninstall shortcut from [start]=>[All Programs]. I don't mean the end user re-run the msi again, or through ARP, or through command line - because normally all of our end users don't run uninstallation these ways.) From: little.forest To: General discussion for Windows Installer XML toolset. Sent: Monday, August 31, 2009 4:19:01 PM Subject: Re: [WiX-users] How to add a dialog box when uninstall Hi Aris, Thanks! I added this in code, then the "Remove" button is gone in ARP: But the uninstallation is still the simple progress bar. Could you please tell me how to "enable maintenance mode"? Thanks. From: Aris J. Green To: General discussion for Windows Installer XML toolset. Sent: Thursday, August 27, 2009 10:20:29 AM Subject: Re: [WiX-users] How to add a dialog box when uninstall Disable uninstall from Add/Remove Programs, enable maintenance mode, which will show a GUI during uninstall. Then allow user to uninstall from maintenance, typically through a radio button selection that sets REMOVE=ALL. The you can prompt the user for what you need (e.g. a SQL password to drop a database, etc.) Set up the silent uninstall to proceed from the command line silently if you want this feature by passing in the proper parameters from the command line (e.g. "SAPWD= SERVER="). But you won't be able to run this from ARP although. Regards, greenaj On Wed, 2009-08-26 at 09:18 +0200, Sebastian Brand (Instyler Software) wrote: > Hello, > > Windows Installer executes uninstall in Silent mode (no UI) mode only. To > show a dialog, you'll have to create a custom action to show a dialog, then > schedule that during uninstall. > > > Best regards, > Sebastian Brand > > Instyler Setup - Creating WiX-based MSI installations, elegantly. > http://www.instyler.com > > > -Original Message- > From: little.forest [mailto:little.for...@ymail.com] > Sent: Wednesday, August 26, 2009 09:04 > To: wix-users@lists.sourceforge.net > Subject: [WiX-users] How to add a dialog box when uninstall > > Hi, > > We're using WiX 3.0. How to add a dialog box when uninstall? > > We'd like to ask the end user if they want to delete their settings files in > AppData\Company\Product folder. If the answer is Yes, then we'll need to > delete that folder. And we only want this dialog box showing up when > manually uninstall by either click the uninstall shortcut or from ARP in > control panel. We do NOT want this dialog showing up when the user doing a > major upgrade(installing a higher version, the old version is uninstalled). > > Thanks. > /Brian > > > __ > Be smarter than spam. See how smart SpamGuard is at giving junk email the > boot with the All-new Yahoo! Mail. Click on Options in Mail and switch to > New Mail today or register for free at http://mail.yahoo.ca > > -- > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus > on what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > ___ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > > > -- > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > ___ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Repor
Re: [WiX-users] How to add a dialog box when uninstall
Hi Aris, Thanks! I added this in code, then the "Remove" button is gone in ARP: But the uninstallation is still the simple progress bar. Could you please tell me how to "enable maintenance mode"? Thanks. From: Aris J. Green To: General discussion for Windows Installer XML toolset. Sent: Thursday, August 27, 2009 10:20:29 AM Subject: Re: [WiX-users] How to add a dialog box when uninstall Disable uninstall from Add/Remove Programs, enable maintenance mode, which will show a GUI during uninstall. Then allow user to uninstall from maintenance, typically through a radio button selection that sets REMOVE=ALL. The you can prompt the user for what you need (e.g. a SQL password to drop a database, etc.) Set up the silent uninstall to proceed from the command line silently if you want this feature by passing in the proper parameters from the command line (e.g. "SAPWD= SERVER="). But you won't be able to run this from ARP although. Regards, greenaj On Wed, 2009-08-26 at 09:18 +0200, Sebastian Brand (Instyler Software) wrote: > Hello, > > Windows Installer executes uninstall in Silent mode (no UI) mode only. To > show a dialog, you'll have to create a custom action to show a dialog, then > schedule that during uninstall. > > > Best regards, > Sebastian Brand > > Instyler Setup - Creating WiX-based MSI installations, elegantly. > http://www.instyler.com > > > -Original Message- > From: little.forest [mailto:little.for...@ymail.com] > Sent: Wednesday, August 26, 2009 09:04 > To: wix-users@lists.sourceforge.net > Subject: [WiX-users] How to add a dialog box when uninstall > > Hi, > > We're using WiX 3.0. How to add a dialog box when uninstall? > > We'd like to ask the end user if they want to delete their settings files in > AppData\Company\Product folder. If the answer is Yes, then we'll need to > delete that folder. And we only want this dialog box showing up when > manually uninstall by either click the uninstall shortcut or from ARP in > control panel. We do NOT want this dialog showing up when the user doing a > major upgrade(installing a higher version, the old version is uninstalled). > > Thanks. > /Brian > > > __ > Be smarter than spam. See how smart SpamGuard is at giving junk email the > boot with the All-new Yahoo! Mail. Click on Options in Mail and switch to > New Mail today or register for free at http://mail.yahoo.ca > > -- > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus > on what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > ___ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > > > -- > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > ___ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users __ Looking for the perfect gift? Give the gift of Flickr! http://www.flickr.com/gift/ -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] How to add a dialog box when uninstall
Thanks Blair! "you can create an uninstallation shortcut, but that is incompatible with the Vista Logo program." - wow, good to know. I'll remember this. The reason we create the uninstall shortcut becuase our customer ask for it. "but you can use the ARPNOREMOVE trick I mention to use UI from the shell" - so I set the property: but the uninstallation(from Start->All Programs) process is the same as before. However, I do realize the "Remove" button in ARP is gone. Is the the correct behaviour? If so, the button is gone, what else I can do? "Re: adding a dialog box to the uninstall UI Yes. The process is the same." - I add a dialog. But I don't know how to make it show up in uninstallation. Which UISequence I should use? Here the dialog code, it shows up now at the beginning of the installation: 1 1 Are you sure you want to remove settings? "To make it easier to help you, please tell us which WixUI you are currently using, and what modifications you have already made to it." - we use WixUI_InstallDir. But we modify it a little bit, and we also modified ExitDlg and InstallDirDlg. That is because we need to implement the "launch application option at the exit page". I know there is a "HowTo" in Wix help document about how to do it. I actually did it by using those code. But our manager said "there is a grey background around the checkbox" and ask me to "remove it". So I found a solution: http://www.dizzymonkeydesign.com/blog/misc/adding-and-customizing-dlgs-in-wix-3/ the solution suggested us to modify those 3 files. Well this solution isn't perfect as there is another issue. It always showing up even in uninstall move when using ARP. It's funny that after uninstallation, the option still says "Launch Application". This is another issue I'm trying to get answer from Wix community: http://n2.nabble.com/WiX-3-0-Install-Repair-Remove-operations-and-Installed-NOT-Installed-properties-td2847409.html#a2847497 Thanks. From: Blair To: General discussion for Windows Installer XML toolset. Sent: Wednesday, August 26, 2009 11:25:33 PM Subject: Re: [WiX-users] How to add a dialog box when uninstall Re: uninstall UX. Yes, you can create an uninstallation shortcut, but that is incompatible with the Vista Logo program. Also it is impossible to ensure that all means of removing the product will show any UI at all, much less your authored dialogs, but you can use the ARPNOREMOVE trick I mention to use UI from the shell, so you don't need to create a shortcut to get it. Re: adding a dialog box to the uninstall UI Yes. The process is the same. To make it easier to help you, please tell us which WixUI you are currently using, and what modifications you have already made to it. -Original Message- From: little.forest [mailto:little.for...@ymail.com] Sent: Wednesday, August 26, 2009 5:57 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] How to add a dialog box when uninstall Hi Blair, Thanks for your reply. Lots of important info here. For ARP, I know what you mean. So how about uninstall from a shortcut(which is created when installing) in the [Start]->[All Programs]? Is it also impossible to add that dialog box? If not, I'll try to explain to our team. Also you said "Other posts address how to insert a dialog into a WiX UI sequence." - does it mean we could add a dialog box in uninstallation? Thanks again. ________________________ From: Blair To: General discussion for Windows Installer XML toolset. Sent: Wednesday, August 26, 2009 5:32:48 PM Subject: Re: [WiX-users] How to add a dialog box when uninstall The shell (ARP/Programs and Features) always calls MSI in a mode that allows a progress bar but disallows any and all modal dialogs when the "Uninstall" is selected. You can suppress the "Remove" button (ARPNOREMOVE property) which will create a "Change/Remove" button in its place where you can show a dialog to ask for permission to remove the user data. During major upgrade, the removal is always performed disallowing modal dialogs (IIRC). All dialogs are to be shown during the InstallUISequence. Use conditions to select your "starting" dialog in your "wizard" or other UX in that sequence. Look at the Repair/Change/Remove screen of the "maintanence" dialog sequence to see where the "Remove" option takes you and insert your new dialog there. Other posts address how to insert a dialog into a WiX UI sequence. -----Original Message- From: little.forest [mailto:little.for...@ymail.com] Sent: Wednesday, August 26, 2009 4:30 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] How to add a dialog box when uninstall Help please
Re: [WiX-users] How to add a dialog box when uninstall
Disable uninstall from Add/Remove Programs, enable maintenance mode, which will show a GUI during uninstall. Then allow user to uninstall from maintenance, typically through a radio button selection that sets REMOVE=ALL. The you can prompt the user for what you need (e.g. a SQL password to drop a database, etc.) Set up the silent uninstall to proceed from the command line silently if you want this feature by passing in the proper parameters from the command line (e.g. "SAPWD= SERVER="). But you won't be able to run this from ARP although. Regards, greenaj On Wed, 2009-08-26 at 09:18 +0200, Sebastian Brand (Instyler Software) wrote: > Hello, > > Windows Installer executes uninstall in Silent mode (no UI) mode only. To > show a dialog, you'll have to create a custom action to show a dialog, then > schedule that during uninstall. > > > Best regards, > Sebastian Brand > > Instyler Setup - Creating WiX-based MSI installations, elegantly. > http://www.instyler.com > > > -Original Message- > From: little.forest [mailto:little.for...@ymail.com] > Sent: Wednesday, August 26, 2009 09:04 > To: wix-users@lists.sourceforge.net > Subject: [WiX-users] How to add a dialog box when uninstall > > Hi, > > We're using WiX 3.0. How to add a dialog box when uninstall? > > We'd like to ask the end user if they want to delete their settings files in > AppData\Company\Product folder. If the answer is Yes, then we'll need to > delete that folder. And we only want this dialog box showing up when > manually uninstall by either click the uninstall shortcut or from ARP in > control panel. We do NOT want this dialog showing up when the user doing a > major upgrade(installing a higher version, the old version is uninstalled). > > Thanks. > /Brian > > > __ > Be smarter than spam. See how smart SpamGuard is at giving junk email the > boot with the All-new Yahoo! Mail. Click on Options in Mail and switch to > New Mail today or register for free at http://mail.yahoo.ca > > -- > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus > on what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > ___ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > > > -- > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > ___ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] How to add a dialog box when uninstall
Re: uninstall UX. Yes, you can create an uninstallation shortcut, but that is incompatible with the Vista Logo program. Also it is impossible to ensure that all means of removing the product will show any UI at all, much less your authored dialogs, but you can use the ARPNOREMOVE trick I mention to use UI from the shell, so you don't need to create a shortcut to get it. Re: adding a dialog box to the uninstall UI Yes. The process is the same. To make it easier to help you, please tell us which WixUI you are currently using, and what modifications you have already made to it. -Original Message- From: little.forest [mailto:little.for...@ymail.com] Sent: Wednesday, August 26, 2009 5:57 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] How to add a dialog box when uninstall Hi Blair, Thanks for your reply. Lots of important info here. For ARP, I know what you mean. So how about uninstall from a shortcut(which is created when installing) in the [Start]->[All Programs]? Is it also impossible to add that dialog box? If not, I'll try to explain to our team. Also you said "Other posts address how to insert a dialog into a WiX UI sequence." - does it mean we could add a dialog box in uninstallation? Thanks again. From: Blair To: General discussion for Windows Installer XML toolset. Sent: Wednesday, August 26, 2009 5:32:48 PM Subject: Re: [WiX-users] How to add a dialog box when uninstall The shell (ARP/Programs and Features) always calls MSI in a mode that allows a progress bar but disallows any and all modal dialogs when the "Uninstall" is selected. You can suppress the "Remove" button (ARPNOREMOVE property) which will create a "Change/Remove" button in its place where you can show a dialog to ask for permission to remove the user data. During major upgrade, the removal is always performed disallowing modal dialogs (IIRC). All dialogs are to be shown during the InstallUISequence. Use conditions to select your "starting" dialog in your "wizard" or other UX in that sequence. Look at the Repair/Change/Remove screen of the "maintanence" dialog sequence to see where the "Remove" option takes you and insert your new dialog there. Other posts address how to insert a dialog into a WiX UI sequence. -Original Message- From: little.forest [mailto:little.for...@ymail.com] Sent: Wednesday, August 26, 2009 4:30 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] How to add a dialog box when uninstall Help please! I need to finish this task by tomorrow. If I can't make it, I might be fired. My job as a Wix developer may be ended. Please help: I just need to add a dialog box when install to ask if the end user wants to remove the settings data in user's AppData folder. If yes, I then will use my C++ program to remove the folder. This dialog shouldn't show up when doing major upgrade - we'll need to keep the setting anyways in this case. I know I need to define a dialog box, showing it, and create custom action, but how to do it? Please give some code example, or hint, or link. Anthing is appreciated. I'm looking for your help. From: little.forest To: General discussion for Windows Installer XML toolset. Sent: Wednesday, August 26, 2009 10:12:07 AM Subject: Re: [WiX-users] How to add a dialog box when uninstall Thanks Sebastian. Is there any source code example that shows how to do it? Also, how can we make sure this dialog box only pops up when the end user doing manual uninstallation? When the end user doing major upgrade to a newer version, this dialog box shouldn't popup because the end user will keep using the new version of the software - therefore the settings are still needed anyways. Is it possible to ensure this point? Thanks again. From: Sebastian Brand (Instyler Software) To: General discussion for Windows Installer XML toolset. Sent: Wednesday, August 26, 2009 12:18:29 AM Subject: Re: [WiX-users] How to add a dialog box when uninstall Hello, Windows Installer executes uninstall in Silent mode (no UI) mode only. To show a dialog, you'll have to create a custom action to show a dialog, then schedule that during uninstall. Best regards, Sebastian Brand Instyler Setup - Creating WiX-based MSI installations, elegantly. http://www.instyler.com -Original Message- From: little.forest [mailto:little.for...@ymail.com] Sent: Wednesday, August 26, 2009 09:04 To: wix-users@lists.sourceforge.net Subject: [WiX-users] How to add a dialog box when uninstall Hi, We're using WiX 3.0. How to add a dialog box when uninstall? We'd like to ask the end user if they want to delete their settings files in AppData\Company\Product folder. If the answer is Yes, then we'll
Re: [WiX-users] How to add a dialog box when uninstall
Hi Blair, Thanks for your reply. Lots of important info here. For ARP, I know what you mean. So how about uninstall from a shortcut(which is created when installing) in the [Start]->[All Programs]? Is it also impossible to add that dialog box? If not, I'll try to explain to our team. Also you said "Other posts address how to insert a dialog into a WiX UI sequence." - does it mean we could add a dialog box in uninstallation? Thanks again. From: Blair To: General discussion for Windows Installer XML toolset. Sent: Wednesday, August 26, 2009 5:32:48 PM Subject: Re: [WiX-users] How to add a dialog box when uninstall The shell (ARP/Programs and Features) always calls MSI in a mode that allows a progress bar but disallows any and all modal dialogs when the "Uninstall" is selected. You can suppress the "Remove" button (ARPNOREMOVE property) which will create a "Change/Remove" button in its place where you can show a dialog to ask for permission to remove the user data. During major upgrade, the removal is always performed disallowing modal dialogs (IIRC). All dialogs are to be shown during the InstallUISequence. Use conditions to select your "starting" dialog in your "wizard" or other UX in that sequence. Look at the Repair/Change/Remove screen of the "maintanence" dialog sequence to see where the "Remove" option takes you and insert your new dialog there. Other posts address how to insert a dialog into a WiX UI sequence. -Original Message- From: little.forest [mailto:little.for...@ymail.com] Sent: Wednesday, August 26, 2009 4:30 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] How to add a dialog box when uninstall Help please! I need to finish this task by tomorrow. If I can't make it, I might be fired. My job as a Wix developer may be ended. Please help: I just need to add a dialog box when install to ask if the end user wants to remove the settings data in user's AppData folder. If yes, I then will use my C++ program to remove the folder. This dialog shouldn't show up when doing major upgrade - we'll need to keep the setting anyways in this case. I know I need to define a dialog box, showing it, and create custom action, but how to do it? Please give some code example, or hint, or link. Anthing is appreciated. I'm looking for your help. From: little.forest To: General discussion for Windows Installer XML toolset. Sent: Wednesday, August 26, 2009 10:12:07 AM Subject: Re: [WiX-users] How to add a dialog box when uninstall Thanks Sebastian. Is there any source code example that shows how to do it? Also, how can we make sure this dialog box only pops up when the end user doing manual uninstallation? When the end user doing major upgrade to a newer version, this dialog box shouldn't popup because the end user will keep using the new version of the software - therefore the settings are still needed anyways. Is it possible to ensure this point? Thanks again. From: Sebastian Brand (Instyler Software) To: General discussion for Windows Installer XML toolset. Sent: Wednesday, August 26, 2009 12:18:29 AM Subject: Re: [WiX-users] How to add a dialog box when uninstall Hello, Windows Installer executes uninstall in Silent mode (no UI) mode only. To show a dialog, you'll have to create a custom action to show a dialog, then schedule that during uninstall. Best regards, Sebastian Brand Instyler Setup - Creating WiX-based MSI installations, elegantly. http://www.instyler.com -Original Message- From: little.forest [mailto:little.for...@ymail.com] Sent: Wednesday, August 26, 2009 09:04 To: wix-users@lists.sourceforge.net Subject: [WiX-users] How to add a dialog box when uninstall Hi, We're using WiX 3.0. How to add a dialog box when uninstall? We'd like to ask the end user if they want to delete their settings files in AppData\Company\Product folder. If the answer is Yes, then we'll need to delete that folder. And we only want this dialog box showing up when manually uninstall by either click the uninstall shortcut or from ARP in control panel. We do NOT want this dialog showing up when the user doing a major upgrade(installing a higher version, the old version is uninstalled). Thanks. /Brian __ Be smarter than spam. See how smart SpamGuard is at giving junk email the boot with the All-new Yahoo! Mail. Click on Options in Mail and switch to New Mail today or register for free at http://mail.yahoo.ca -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deploym
Re: [WiX-users] How to add a dialog box when uninstall
The shell (ARP/Programs and Features) always calls MSI in a mode that allows a progress bar but disallows any and all modal dialogs when the "Uninstall" is selected. You can suppress the "Remove" button (ARPNOREMOVE property) which will create a "Change/Remove" button in its place where you can show a dialog to ask for permission to remove the user data. During major upgrade, the removal is always performed disallowing modal dialogs (IIRC). All dialogs are to be shown during the InstallUISequence. Use conditions to select your "starting" dialog in your "wizard" or other UX in that sequence. Look at the Repair/Change/Remove screen of the "maintanence" dialog sequence to see where the "Remove" option takes you and insert your new dialog there. Other posts address how to insert a dialog into a WiX UI sequence. -Original Message- From: little.forest [mailto:little.for...@ymail.com] Sent: Wednesday, August 26, 2009 4:30 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] How to add a dialog box when uninstall Help please! I need to finish this task by tomorrow. If I can't make it, I might be fired. My job as a Wix developer may be ended. Please help: I just need to add a dialog box when install to ask if the end user wants to remove the settings data in user's AppData folder. If yes, I then will use my C++ program to remove the folder. This dialog shouldn't show up when doing major upgrade - we'll need to keep the setting anyways in this case. I know I need to define a dialog box, showing it, and create custom action, but how to do it? Please give some code example, or hint, or link. Anthing is appreciated. I'm looking for your help. From: little.forest To: General discussion for Windows Installer XML toolset. Sent: Wednesday, August 26, 2009 10:12:07 AM Subject: Re: [WiX-users] How to add a dialog box when uninstall Thanks Sebastian. Is there any source code example that shows how to do it? Also, how can we make sure this dialog box only pops up when the end user doing manual uninstallation? When the end user doing major upgrade to a newer version, this dialog box shouldn't popup because the end user will keep using the new version of the software - therefore the settings are still needed anyways. Is it possible to ensure this point? Thanks again. From: Sebastian Brand (Instyler Software) To: General discussion for Windows Installer XML toolset. Sent: Wednesday, August 26, 2009 12:18:29 AM Subject: Re: [WiX-users] How to add a dialog box when uninstall Hello, Windows Installer executes uninstall in Silent mode (no UI) mode only. To show a dialog, you'll have to create a custom action to show a dialog, then schedule that during uninstall. Best regards, Sebastian Brand Instyler Setup - Creating WiX-based MSI installations, elegantly. http://www.instyler.com -Original Message- From: little.forest [mailto:little.for...@ymail.com] Sent: Wednesday, August 26, 2009 09:04 To: wix-users@lists.sourceforge.net Subject: [WiX-users] How to add a dialog box when uninstall Hi, We're using WiX 3.0. How to add a dialog box when uninstall? We'd like to ask the end user if they want to delete their settings files in AppData\Company\Product folder. If the answer is Yes, then we'll need to delete that folder. And we only want this dialog box showing up when manually uninstall by either click the uninstall shortcut or from ARP in control panel. We do NOT want this dialog showing up when the user doing a major upgrade(installing a higher version, the old version is uninstalled). Thanks. /Brian __ Be smarter than spam. See how smart SpamGuard is at giving junk email the boot with the All-new Yahoo! Mail. Click on Options in Mail and switch to New Mail today or register for free at http://mail.yahoo.ca -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___
Re: [WiX-users] How to add a dialog box when uninstall
Help please! I need to finish this task by tomorrow. If I can't make it, I might be fired. My job as a Wix developer may be ended. Please help: I just need to add a dialog box when install to ask if the end user wants to remove the settings data in user's AppData folder. If yes, I then will use my C++ program to remove the folder. This dialog shouldn't show up when doing major upgrade - we'll need to keep the setting anyways in this case. I know I need to define a dialog box, showing it, and create custom action, but how to do it? Please give some code example, or hint, or link. Anthing is appreciated. I'm looking for your help. From: little.forest To: General discussion for Windows Installer XML toolset. Sent: Wednesday, August 26, 2009 10:12:07 AM Subject: Re: [WiX-users] How to add a dialog box when uninstall Thanks Sebastian. Is there any source code example that shows how to do it? Also, how can we make sure this dialog box only pops up when the end user doing manual uninstallation? When the end user doing major upgrade to a newer version, this dialog box shouldn't popup because the end user will keep using the new version of the software - therefore the settings are still needed anyways. Is it possible to ensure this point? Thanks again. From: Sebastian Brand (Instyler Software) To: General discussion for Windows Installer XML toolset. Sent: Wednesday, August 26, 2009 12:18:29 AM Subject: Re: [WiX-users] How to add a dialog box when uninstall Hello, Windows Installer executes uninstall in Silent mode (no UI) mode only. To show a dialog, you'll have to create a custom action to show a dialog, then schedule that during uninstall. Best regards, Sebastian Brand Instyler Setup - Creating WiX-based MSI installations, elegantly. http://www.instyler.com -Original Message- From: little.forest [mailto:little.for...@ymail.com] Sent: Wednesday, August 26, 2009 09:04 To: wix-users@lists.sourceforge.net Subject: [WiX-users] How to add a dialog box when uninstall Hi, We're using WiX 3.0. How to add a dialog box when uninstall? We'd like to ask the end user if they want to delete their settings files in AppData\Company\Product folder. If the answer is Yes, then we'll need to delete that folder. And we only want this dialog box showing up when manually uninstall by either click the uninstall shortcut or from ARP in control panel. We do NOT want this dialog showing up when the user doing a major upgrade(installing a higher version, the old version is uninstalled). Thanks. /Brian __ Be smarter than spam. See how smart SpamGuard is at giving junk email the boot with the All-new Yahoo! Mail. Click on Options in Mail and switch to New Mail today or register for free at http://mail.yahoo.ca -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users __ Be smarter than spam. See how smart SpamGuard is at giving junk email the boot with the All-new Yahoo! Mail. Click on Options in Mail and switch to New Mail today or register for free at http://mail.yahoo.ca -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users __ Looking for the perfect gift? Give the gift of Flickr! http://www.flickr.com/gift/ -
Re: [WiX-users] How to add a dialog box when uninstall
Thanks Sebastian. Is there any source code example that shows how to do it? Also, how can we make sure this dialog box only pops up when the end user doing manual uninstallation? When the end user doing major upgrade to a newer version, this dialog box shouldn't popup because the end user will keep using the new version of the software - therefore the settings are still needed anyways. Is it possible to ensure this point? Thanks again. From: Sebastian Brand (Instyler Software) To: General discussion for Windows Installer XML toolset. Sent: Wednesday, August 26, 2009 12:18:29 AM Subject: Re: [WiX-users] How to add a dialog box when uninstall Hello, Windows Installer executes uninstall in Silent mode (no UI) mode only. To show a dialog, you'll have to create a custom action to show a dialog, then schedule that during uninstall. Best regards, Sebastian Brand Instyler Setup - Creating WiX-based MSI installations, elegantly. http://www.instyler.com -Original Message- From: little.forest [mailto:little.for...@ymail.com] Sent: Wednesday, August 26, 2009 09:04 To: wix-users@lists.sourceforge.net Subject: [WiX-users] How to add a dialog box when uninstall Hi, We're using WiX 3.0. How to add a dialog box when uninstall? We'd like to ask the end user if they want to delete their settings files in AppData\Company\Product folder. If the answer is Yes, then we'll need to delete that folder. And we only want this dialog box showing up when manually uninstall by either click the uninstall shortcut or from ARP in control panel. We do NOT want this dialog showing up when the user doing a major upgrade(installing a higher version, the old version is uninstalled). Thanks. /Brian __ Be smarter than spam. See how smart SpamGuard is at giving junk email the boot with the All-new Yahoo! Mail. Click on Options in Mail and switch to New Mail today or register for free at http://mail.yahoo.ca -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users __ Be smarter than spam. See how smart SpamGuard is at giving junk email the boot with the All-new Yahoo! Mail. Click on Options in Mail and switch to New Mail today or register for free at http://mail.yahoo.ca -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] How to add a dialog box when uninstall
Hello, Windows Installer executes uninstall in Silent mode (no UI) mode only. To show a dialog, you'll have to create a custom action to show a dialog, then schedule that during uninstall. Best regards, Sebastian Brand Instyler Setup - Creating WiX-based MSI installations, elegantly. http://www.instyler.com -Original Message- From: little.forest [mailto:little.for...@ymail.com] Sent: Wednesday, August 26, 2009 09:04 To: wix-users@lists.sourceforge.net Subject: [WiX-users] How to add a dialog box when uninstall Hi, We're using WiX 3.0. How to add a dialog box when uninstall? We'd like to ask the end user if they want to delete their settings files in AppData\Company\Product folder. If the answer is Yes, then we'll need to delete that folder. And we only want this dialog box showing up when manually uninstall by either click the uninstall shortcut or from ARP in control panel. We do NOT want this dialog showing up when the user doing a major upgrade(installing a higher version, the old version is uninstalled). Thanks. /Brian __ Be smarter than spam. See how smart SpamGuard is at giving junk email the boot with the All-new Yahoo! Mail. Click on Options in Mail and switch to New Mail today or register for free at http://mail.yahoo.ca -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users