From: "Richard" <[EMAIL PROTECTED]>
Sent: Monday, October 29, 2007 9:40 PM
Subject: Re: [WiX-users] Maintenance modes
>
> In article <[EMAIL PROTECTED]>,
> "Anthony Wieser" <[EMAIL PROTECTED]> writes:
>
>> For some reason my msi file is bringing up the maintenance mode when I
>> double click it.
>
> This means its already installed.
>
>> 1. How do I make sure that only remove is supported.
>> I've already set the property ARPNOMODIFY like this:
>> <Property Id="ARPNOMODIFY" Value="1" />
>> but I've done it in a <UI> block. Is that wrong?
>
> Put it inside the <Product> tag.
Turns out I got this from the WixUI_InstallDir.wxs file I based it on. The
property seems to be in the right place when I look at the file in Orcas.
>
>> Secondly, if this is expected behavior, any ideas why when I click the
>> remove button, everything in my install disappears, except for the
>> entries
>> under add remove programs?
>
> It sounds like you've corrupted Add/Remove Programs somehow. You can
> use the msizap utility to make A/RP "forget" about your product, but
> use this only as a last resort.
I don't think that's what's going on, because I can still remove the program
from ARP afterwards, even though most of the install is gone.
Trawling through the UI sources, I found this in VerifyReadDlg.wxs:
<Control Id="Remove" Type="PushButton" X="236" Y="243"
Width="56" Height="17" Hidden="yes" Text="!(loc.VerifyReadyDlgRemove)">
<Condition Action="show">WixUI_InstallMode =
"Remove"</Condition>
<Publish Event="Remove"
Value="All"><![CDATA[OutOfDiskSpace <> 1]]></Publish>
[snip...]
</Control>
However, the msi documentation says the argument for remove is:
A string that is either the name of the feature or "ALL".
Does it matter that the case is wrong?
> It could be a problem, but its hard to say without debugging it myself
> in front of your computer. (And no, that's not an invitation for free
> consulting :-).
I wouldn't expect that.
Anthony Wieser
Wieser Software Ltd
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users