Hi,

   You can try the following -

1. Add a property IS_IT_ARPREPAIR and set its value to zero

2. Through your installer, when the installation is successful update
the following key's value
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{
GUID}\UninstallString 

The default value should be something like msiexec /i{product code}

Update it to msiexec /i{product code} IS_IT_ARPREPAIR=1

3. Put a condition in your maintenance to do its amgic if
IS_IT_ARPREPAIR is 1 and not otherwise.

This is my first post. I do hope its helpful.

Cheers,
Gaurav Malhotra


-----Original Message-----
From: Ilya Slobodin [mailto:[EMAIL PROTECTED] 
Sent: 22 September 2008 13:40
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] How to distinguish between "full repair"
and"self-repair"?

Hi guys,



How to distinguish between "full repair" from Add/Remove Programs and

"self-repair" started by the shortcut for each new user when the key

path of the shortcut is not found?



Is the difference in the value of REINSTALLMODE is robust enough?



REINSTALLMODE=ecmus -- full repair,

REINSTALLMODE=pocmus -- self repair.



Our product contains a big database that we cannot place inside a .cab

file. In case of "full repair" we need to reinstall database, to find

it from a CA we need to call ResolveSource before. And we don't want

to call ResolveSource when a new user starts our product for the first

time.



Best regards,

Ilya Slobodin


------------------------------------------------------------------------
-
This SF.Net email is sponsored by the Moblin Your Move Developer's
challenge Build the coolest Linux based applications with Moblin SDK &
win great prizes Grand prize is a trip for two to an Open Source event
anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

http://www.bbc.co.uk/
This e-mail (and any attachments) is confidential and may contain personal 
views which are not the views of the BBC unless specifically stated.
If you have received it in error, please delete it from your system.
Do not use, copy or disclose the information in any way nor act in reliance on 
it and notify the sender immediately.
Please note that the BBC monitors e-mails sent or received.
Further communication will signify your consent to this.
                                        

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to