[wix-users] MBA Problems with Repair Installation

Heiner Violet H.Violet at medidok.de
Tue Mar 7 02:51:22 PST 2017


SetProperty inside the MSI doesn't work. I scheduled this action before AppSearch, but ist not executed. I think it's because the error "Product already installed" is produced at the very beginning of the installation.


-----Ursprüngliche Nachricht-----
Von: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] Im Auftrag von Hoover, Jacob
Gesendet: Montag, 6. März 2017 18:22
An: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
Betreff: Re: [wix-users] MBA Problems with Repair Installation

In theory you could author your MSI could conditionally change that...

<SetProperty Id="REINSTALLMODE" Value="vomus" After="FindRelatedProducts">Installed AND ...</SetProperty>

But the bigger question is why do you need to change it?

http://stackoverflow.com/questions/3334601/wix-installer-how-to-switch-to-repair-mode-if-already-installed


-----Original Message-----
From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of Heiner Violet
Sent: Monday, March 06, 2017 10:35 AM
To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
Subject: Re: [wix-users] MBA Problems with Repair Installation

Thanks for your reply,


Yesterday, I have  been misled - Today, in repeating my tests, I discovered, that the REINSTALL and REINSTALLMODE are of course set for the MSI. Unfortunatley, REINSTALLMODE iss et to cmuse - in our case we would like to have vomus, because we want to replace files though the product is already installed. Now the documentation states that REINSTALLMODE cannot be arbitrarilly set because 

Burn controls the follow MSI properties so they cannot be set with MsiProperty: ACTION, ALLUSERS, REBOOT, REINSTALL, REINSTALLMODE.


Best regards,
H

-----Ursprüngliche Nachricht-----
Von: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] Im Auftrag von Hoover, Jacob
Gesendet: Montag, 6. März 2017 17:24
An: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
Betreff: Re: [wix-users] MBA Problems with Repair Installation

What did the detection process report for these MSI's? What handlers do you have for Detect/Plan of packages and what are you responding to the engine for them?

-----Original Message-----
From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of Heiner Violet
Sent: Monday, March 06, 2017 3:03 AM
To: wix-users at lists.wixtoolset.org
Subject: [wix-users] MBA Problems with Repair Installation

Hello All,

our MBA installs several MSI-packages.

Our problem: when we plan a Repair-installation - i. e. calling Engine.Plan( LaunchAction.Repair ) - at least one MSI package is called without REINSTALL and without REINSTALLMODE. The log writes something like

OurPackage.msi, arguments ' ARPSYSTEMCOMPONENT="1" MSIFASTINSTALL="7"'

Why is this so?
In the documentation, I read, that in Repair-Mode REINSTALLMODE is automatically set to cmuse for any MSI-package.

Thanks for any help in advance.



Mit freundlichen Grüßen,

Heiner Violet
-Entwicklung-

* * * HINWEIS * * *
Besuchen Sie unsere Online-Knowledgebase: http://forum.medidok.de<http://forum.medidok.de/>.
Hier finden unsere registrierten Partner Informationen und Hilfestellungen rund um die mediDOK® Produkte.
_______________________________

mediDOK® Software Entwicklungsgesellschaft mbH Handschuhsheimer Landstraße 11
D-69221 Dossenheim, Germany
Phone: +49-6221-8768-0
Fax: +49-6221-8768-10
Email: h.violet at medidok.de<mailto:h.violet at medidok.de>
Homepage: http://www.medidok.de<http://www.medidok.de/>

Eingetragen beim Amtsgericht Mannheim unter HRB 336192
Geschäftsführung: Wolfgang Wesch, Rainer Svojanovsky
UST-ID: DE 200333640

Homepage : www.mediDOK.de<http://www.medidok.de/>
E-mail : info at medidok.de<mailto:info at medidok.de>

________________________________
Diese Email enthält vertrauliche und / oder rechtlich geschützte Informationen. Wenn Sie nicht der richtige Adressat sind oder diese Email irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese Email. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Email sind nicht gestattet.

CAUTION - This message may contain confidential information intended only for the use of the addressee named above. If you are not the intended recipient of this message you are hereby notified that any use, dissemination, distribution or reproduction of this message is prohibited.
________________________________


____________________________________________________________________
WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/

____________________________________________________________________
WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/

____________________________________________________________________
WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/

____________________________________________________________________
WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/


More information about the wix-users mailing list