Hi Pally,
Thanks for your response.
It hasn't made any difference though :-(
Nothing extra appears in the log between the first click and the second 
click..

Mark.


On 17/09/2010 12:53, Pally Sandher wrote:
> Try changing your conditions to
> (LEGACY_APPDATA) AND (WixUI_InstallMode = "InstallCustom" OR
> WixUI_InstallMode = "InstallTypical" OR WixUI_InstallMode =
> "InstallComplete")
> and
> (NOT LEGACY_APPDATA) AND (WixUI_InstallMode = "InstallCustom" OR
> WixUI_InstallMode = "InstallTypical" OR WixUI_InstallMode =
> "InstallComplete")
>
> instead as that's more semantically correct in Windows Installer.
>
> Have you checked a verbose log to see when WiXUI_InstallMode is being
> set?
>
> Palbinder Sandher
> Software Deployment&  IT Administrator
> T: +44 (0) 141 945 8500
> F: +44 (0) 141 945 8501
>
> http://www.iesve.com
> **Design, Simulate + Innovate with the<Virtual Environment>**
> Integrated Environmental Solutions Limited. Registered in Scotland No.
> SC151456
> Registered Office - Helix Building, West Of Scotland Science Park,
> Glasgow G20 0SP
> Email Disclaimer
>
> -----Original Message-----
> From: Mark Simonetti [mailto:ma...@opalsoftware.co.uk]
> Sent: 17 September 2010 11:49
> To: General discussion for Windows Installer XML toolset.
> Subject: Re: [WiX-users] Having to click twice to proceed.
>
>    PS - it only seems to do it when the LEGACY_APPDATA is not set (i.e.
> the registry search fails).
>
> Thanks,
> Mark.
> --
>
> On 17/09/2010 10:36, Mark wrote:
>>     Hi all,
>> I've made a copy of the wixui_mondo.wxs file to customize.  I've
>> changed the SetupType dialog to goto one dialog or another depending
>> on a condition determined by a registry entry:
>>
>> <!-- Setup dialog -->
>>
>> <Publish Dialog="SetupTypeDlg" Control="Back" Event="NewDialog"
>> Value="LicenseAgreementDlg">1</Publish>
>> <Publish Dialog="SetupTypeDlg" Control="CustomButton"
> Event="NewDialog"
>> Value="CustomizeDlg">1</Publish>
>>
>> <Publish Dialog="SetupTypeDlg" Control="TypicalButton"
> Event="NewDialog"
>> Value="VerifyReadyDlg" Order="1">
>>            (LEGACY_APPDATA = "") AND (WixUI_InstallMode =
> "InstallCustom"
>> OR WixUI_InstallMode = "InstallTypical" OR WixUI_InstallMode =
>> "InstallComplete")
>> </Publish>
>>
>> <Publish Dialog="SetupTypeDlg" Control="TypicalButton"
> Event="NewDialog"
>> Value="MigrateDlg" Order="2">
>>            (NOT LEGACY_APPDATA = "") AND (WixUI_InstallMode =
>> "InstallCustom" OR WixUI_InstallMode = "InstallTypical" OR
>> WixUI_InstallMode = "InstallComplete")</Publish>
>>
>> <Publish Dialog="SetupTypeDlg" Control="CompleteButton"
>> Event="NewDialog" Value="VerifyReadyDlg" Order="1">
>>            (LEGACY_APPDATA = "") AND (WixUI_InstallMode =
> "InstallCustom"
>> OR WixUI_InstallMode = "InstallTypical" OR WixUI_InstallMode =
>> "InstallComplete")
>> </Publish>
>>
>> <Publish Dialog="SetupTypeDlg" Control="CompleteButton"
>> Event="NewDialog" Value="MigrateDlg" Order="2">
>>            (NOT LEGACY_APPDATA = "") AND (WixUI_InstallMode =
>> "InstallCustom" OR WixUI_InstallMode = "InstallTypical" OR
>> WixUI_InstallMode = "InstallComplete")</Publish>
>>
>> The reg search looks like this, and seems to work fine:
>>
>> <Property Id="LEGACY_APPDATA">
>> <RegistrySearch Id="LEGACY_APPDATA_REGISTRY_SEARCH" Root="HKLM"
>> Key="SOFTWARE\MyApp\Settings" Name="Data" Type="raw" />  </Property>
>>
>> The problem is when the SetupType dialog gets displayed, I have to
>> click twice on the Typical or Complete buttons to proceed.  If I go
>> back to the SetupType dialog, it's fine, it's always just the first
>> time in a particular installation session, almost like it's having to
>> go away and determine something.
>>
>> Any ideas anyone?
>>
>> Thanks,
>> Mark.
>>
>>
>> ----------------------------------------------------------------------
>> -------- Start uncovering the many advantages of virtual appliances
>> and start using them to simplify application deployment and accelerate
>> your shift to cloud computing.
>> http://p.sf.net/sfu/novell-sfdev2dev
>> _______________________________________________
>> WiX-users mailing list
>> WiX-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/wix-users
>>
>>
>
> ------------------------------------------------------------------------
> ------
> Start uncovering the many advantages of virtual appliances and start
> using them to simplify application deployment and accelerate your shift
> to cloud computing.
> http://p.sf.net/sfu/novell-sfdev2dev
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
>
>
> ------------------------------------------------------------------------------
> Start uncovering the many advantages of virtual appliances
> and start using them to simplify application deployment and
> accelerate your shift to cloud computing.
> http://p.sf.net/sfu/novell-sfdev2dev
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
>


------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to