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 <little.for...@ymail.com>
To: General discussion for Windows Installer XML toolset. 
<wix-users@lists.sourceforge.net>
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) <wix+us...@instyler.com>
To: General discussion for Windows Installer XML toolset. 
<wix-users@lists.sourceforge.net>
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/
------------------------------------------------------------------------------
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

Reply via email to