Hmm.. I think these Properties are the right approach but how can I set them? I
enabled the verbose logging and found out that if I uninstall my application
using the "Add or Remove Programs" tool the REMOVE-property is set to "All"
with a command line parameter:
MSI (s) (B8:78) [17:50:08:501]: Command Line: REMOVE=ALL
CURRENTDIRECTORY=C:\Documents and Settings\djanz CLIENTUILEVEL=2
CLIENTPROCESSID=1200
MSI (s) (B8:78) [17:50:08:501]: PROPERTY CHANGE: Adding REMOVE property. Its
value is 'ALL'.
But if I try to set it manually (either to the comma separated list of features
what is suggested by the MSDN or to 'All') nothing happens. Here are the two
ways I tried to use:
1. Event: <Publish Property="REMOVE" Value="All" />
2. CustomAction: <CustomAction Id="SET_INSTALLMODE" Property="REMOVE"
Value="[InstallMode]" Execute="firstSequence" />
But none of them works. For the CustomAction I get at least an log entry:
MSI (c) (B0:84) [17:45:06:817]: Doing action: SET_INSTALLMODE
Aktion 17:45:06: SET_INSTALLMODE.
Aktion gestartet um 17:45:06: SET_INSTALLMODE.
Aktion beendet um 17:45:06: SET_INSTALLMODE. Rückgabewert 1.
After this I would at least expect an entry of the PROPERTY CHANGE -Type.
Any suggestions?
From: Daniel Janz
Sent: Dienstag, 15. Januar 2008 16:37
To: Daniel Janz; WiX-users@lists.sourceforge.net
Subject: RE: [WiX-users] Maintenance mode broken
It seems that I've found a way to fix my installer:
http://msdn2.microsoft.com/en-us/library/aa371194(VS.85).aspx
http://msdn2.microsoft.com/en-us/library/aa371175(VS.85).aspx
http://msdn2.microsoft.com/en-us/library/aa371182(VS.85).aspx
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Daniel Janz
Sent: Dienstag, 15. Januar 2008 15:38
To: WiX-users@lists.sourceforge.net
Subject: [WiX-users] Maintenance mode broken
Hi,
I'm just trying to create a maintenance mode for my installer but I ran into
some problems.
In my first installer I used a precompiled WixUI (mondo) and it provided the
maintenance mode automatically (worked fine), but now I have made some database
related changes (a few dialogs which ask for information) in this mode and
broke it.
Symptoms are that everything themes to work well but the "Repair" and
"Uninstall" (I removed "Change") modes don't do anything at all.
What's about the "InstallMode"-Property? I found something at this page:
http://www.tarma.com/support/tin3/0100-using/0035-symbols/0200-variables/installmode.htm
(It also creates .msi files hence I found it could be relevant). Currently I'm
using it to tell the installer what he should do in the maintenance mode.
Also I found something in this list:
http://www.nabble.com/InstallMode-Conditions-DON'T-work!-td14487073.html which
was also not very helpful for me.
If there is actually a property which could help me to solve this how it's
called?
If there isn't one what's the best way to tell the installer for instance to
remove the program instead of simply doing nothing.
Thanks in advance
EURO-LOG AG
Entwicklung
i. A. Daniel Janz
Am Söldnermoos 17
85399 Hallbergmoos-München
T +49 811 9595-137
F +49 811 9595-199
M +49 170 760 24 80
www.eurolog.com <http://www.eurolog.com/>
Vorstand: Jörg Fürbacher
Aufsichtsratsvorsitzender: Dr. Kai Altemann
Registergericht: AG München HRB 140857
Steuer-Nr.: 115/118/10169
Ust-ID-Nr.: DE 811547361
Diese E-Mail könnte vertrauliche und/oder rechtlich geschützte Informationen
enthalten. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail
irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und
vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte
Weitergabe dieser Mail sind nicht gestattet.
This e-mail may contain confidential and/or privileged information. If you are
not the intended recipient (or have received this e-mail in error) please
notify the sender immediately and destroy this e-mail. Any unauthorized
copying, disclosure or distribution of the material in this e-mail is strictly
forbidden
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users