Email recap for first time readers:
I've got a WIX project where I have some custom dialogs along with the standard
dialogs.
One of the custom dialogs, the next button was advancing the install to the
next dialog with a single click.
I put in a small change to the install and the next button then needed two
clicks in order to get the dialogs to advance. I backed out this change however
the double click on the next button still stayed.
Once I get past this dialog and then backtrack (using the back buttons) and
then come upon this dialog again, the next button only needs one click to
advance, so this double click scenario only happens when the custom dialog is
used for the first time.
I don't see any errors in the install log when I use the /l*v logging option on
the msiexec.
Here is the code below ...
<Publish Dialog="LicenseAgreementDlg" Control="Back" Event="NewDialog"
Value="WelcomeDlg">1</Publish>
<Publish Dialog="LicenseAgreementDlg" Control="Next" Event="DoAction"
Value="GetListOfServers" Order="1">LicenseAccepted = "1"</Publish>
<Publish Dialog="LicenseAgreementDlg" Control="Next" Event="DoAction"
Value="GetDomainUser" Order="2">LicenseAccepted = "1"</Publish>
<Publish Dialog="LicenseAgreementDlg" Control="Next" Event="NewDialog"
Value="ServerSelectDialog" Order="3">LicenseAccepted = "1"</Publish>
<Publish Dialog="ServerSelectDialog" Control="Back" Event="NewDialog"
Value="LicenseAgreementDlg" Order ="1"></Publish>
<Publish Dialog="ServerSelectDialog" Control="Next" Event="DoAction"
Value="CheckForValidServerAddress" Order "1"></Publish>
Server select dialog is the dialog that does not advance when the next button
is clicked- only happens when the dialog appears for the first time. Once you
hit the back button and come up on this dialog again, the dialog advances on
the first click.
<Publish Dialog="ServerSelectDialog" Control="Next" Event="DoAction"
Value="VerifySQLServerCapabiliites" Order
="2"><![CDATA[VALIDSERVERADDRESS="TRUE"]]></Publish>
<Publish Dialog="ServerSelectDialog" Control="Next" Event="DoAction"
Value="IsLocalInstall" Order ="3"><![CDATA[VALIDSERVERADDRESS="TRUE" AND
HTSSQLVERSION="HTS_COMPATIBLE_VERIFIED" AND
USERCANCREATEDATABASE="TRUE"]]></Publish>
<Publish Dialog="ServerSelectDialog" Control="Next" Event="NewDialog"
Value="CurrentUserCantCreateDatabaseDialog" Order
="4"><![CDATA[VALIDSERVERADDRESS="TRUE" AND
HTSSQLVERSION="HTS_COMPATIBLE_VERIFIED" AND
USERCANCREATEDATABASE="FALSE"]]></Publish>
<Publish Dialog="ServerSelectDialog" Control="Next" Event="NewDialog"
Value="DatabaseUserAndServerPortDialog" Order
="5"><![CDATA[VALIDSERVERADDRESS="TRUE" AND
HTSSQLVERSION="HTS_COMPATIBLE_VERIFIED" AND
USERCANCREATEDATABASE="TRUE"]]></Publish>
<Publish Dialog="ServerSelectDialog" Control="Next" Event="NewDialog"
Value="DatabaseVersionWarningDialog" Order
="6"><![CDATA[HTSSQLVERSION="HTS_COMPATIBLE_UNKNOWN" OR
VALIDSERVERADDRESS="FALSE"]]></Publish>
<Publish Dialog="ServerSelectDialog" Control="Cancel" Event="SpawnDialog"
Value="CancelDlg" Order ="7"></Publish>
<Publish Dialog="CurrentUserCantCreateDatabaseDialog" Control="Cancel"
Event="SpawnDialog" Value="CancelDlg" Order ="1"></Publish>
<Publish Dialog="DatabaseVersionWarningDialog" Control="Back" Event="NewDialog"
Value="ServerSelectDialog" Order ="1"></Publish>
<Publish Dialog="DatabaseVersionWarningDialog" Control="Cancel"
Event="SpawnDialog" Value="CancelDlg" Order ="2"></Publish>
<Publish Dialog="SqlServerNotInstalledDialog" Control="Back" Event="NewDialog"
Value="WelcomeDlg" Order ="1"></Publish>
<Publish Dialog="SqlServerNotInstalledDialog" Control="Cancel"
Event="SpawnDialog" Value="CancelDlg" Order ="2"></Publish>
<Publish Dialog="DatabaseUserAndServerPortDialog" Control="Back"
Event="NewDialog" Value="ServerSelectDialog" Order ="1"></Publish>
<Publish Dialog="DatabaseUserAndServerPortDialog" Control="Next"
Event="DoAction" Value="VerifyDatabaseServerInstallConfig" Order
="1">1</Publish>
<Publish Dialog="DatabaseUserAndServerPortDialog" Control="Next"
Event="NewDialog" Value="InstallDirDlg" Order
="2"><![CDATA[DATABASESERVERINSTALLCONFIG="TRUE"]]></Publish>
<Publish Dialog="DatabaseUserAndServerPortDialog" Control="Next"
Event="NewDialog" Value="ConfigWarningDialog" Order
="3"><![CDATA[DATABASESERVERINSTALLCONFIG="FALSE"]]></Publish>
<Publish Dialog="DatabaseUserAndServerPortDialog" Control="Cancel"
Event="SpawnDialog" Value="CancelDlg" Order ="4"></Publish>
<Publish Dialog="ConfigWarningDialog" Control="Back" Event="NewDialog"
Value="DatabaseUserAndServerPortDialog" Order ="1"></Publish>
<Publish Dialog="ConfigWarningDialog" Control="Cancel" Event="SpawnDialog"
Value="CancelDlg" Order ="2"></Publish>
Here is the code for the ServerSelect Dialog
<UI Id ="ServerSelectDialog">
<Dialog Id="ServerSelectDialog" Width="370" Height="295"
Title="[ProductName] Setup">
<Control Id="BannerBitmap" Type="Bitmap" X="0" Y="0" Width="370"
Height="44" TabSkip="no" Text="!(loc.InstallDirDlgBannerBitmap)" />
<Control Id="Title" Type="Text" X="15" Y="6" Width="200" Height="15"
Transparent="yes" NoPrefix="yes" Text="{\WixUI_Font_Title} HTS Install" />
<Control Id="Description1" Type="Text" X="25" Y="23" Width="280"
Height="15" Transparent="yes" NoPrefix="yes" Text="SQL Server Database
installs." />
<Control Id="BannerLine" Type="Line" X="0" Y="44" Width="370"
Height="0" />
<Control Id="Description2" Type="Text" X="25" Y="50" Width="280"
Height="13" Transparent="yes" NoPrefix="yes" Text="Listed below are the
detected installs via SQL Browser Service."/>
<Control Id="Description3" Type="Text" X="25" Y="63" Width="280"
Height="13" Transparent="yes" NoPrefix="yes" Text="If the instance you want to
install to is not listed, or listed with "/>
<Control Id="Description4" Type="Text" X="25" Y="76" Width="280"
Height="13" Transparent="yes" NoPrefix="yes" Text="instance information is not
available, you may enter the "/>
<Control Id="Description5" Type="Text" X="25" Y="89" Width="280"
Height="13" Transparent="yes" NoPrefix="yes" Text="the hostname and port below
and a connection will be attempted that way."/>
<Control Id="SqlServerValues" Type="ListBox" X="27" Y="105"
Width="275" Height="115" Property="SQLSERVERS" />
<Control Id="HostNameLabel" Type="Text" X="27" Y="225" Width="45"
Height="17" Text="Hostname:"/>
<Control Id="HostNameText" Type="Edit" X="74" Y="225" Width="125"
Height="17" Property ="USERSUPPLIEDSERVERHOSTNAME"/>
<Control Id="PortLabel" Type="Text" X="216" Y="225" Width="20"
Height="17" Text="Port:"/>
<Control Id="PortText" Type="Edit" X="245" Y="225" Width="40"
Height="17" Property ="USERSUPPLIEDSERVERPORT"/>
<Control Id="BannerLine2" Type="Line" X="0" Y="260" Width="370"
Height="0" />
<Control Id="Back" Type="PushButton" X="170" Y="270" Width="56"
Height="17" Default="yes" Text="Back"/>
<Control Id="Next" Type="PushButton" X="225" Y="270" Width="56"
Height="17" Default="yes" Disabled ="yes" Text="Next">
<Condition Action ="enable">
<![CDATA[SQLSERVERS <> "" OR (USERSUPPLIEDSERVERHOSTNAME <> ""
AND USERSUPPLIEDSERVERPORT <> "")]]>
</Condition>
</Control>
<Control Id="Cancel" Type="PushButton" X="295" Y="270" Width="56"
Height="17" Default="no" Cancel="yes" Text="Cancel">
</Control>
</Dialog>
</UI>
Here is the code for the dialog after the Server Selection Dialog
<UI Id ="DatabaseUserAndServerPortDialog">
<Dialog Id="DatabaseUserAndServerPortDialog" Width="390" Height="310"
Title="[ProductName] Setup">
<Control Id="BannerBitmap" Type="Bitmap" X="0" Y="0" Width="390"
Height="44" TabSkip="no" Text="!(loc.InstallDirDlgBannerBitmap)" />
<Control Id="Title" Type="Text" X="10" Y="6" Width="200" Height="15"
Transparent="yes" NoPrefix="yes" Text="{\WixUI_Font_Title} HTS Install" />
<Control Id="Description" Type="Text" X="15" Y="23" Width="280"
Height="15" Transparent="yes" NoPrefix="yes" Text="Create the HTS database and
configure the backend." />
<Control Id="BannerLine" Type="Line" X="0" Y="44" Width="390"
Height="0" />
<Control Id="Description1" Type="Text" X="15" Y="47" Width="280"
Height="13" Transparent="yes" NoPrefix="yes" Text="You have selected
[SQLSERVERS]." />
<Control Id="Description2" Type="Text" X="15" Y="60" Width="350"
Height="13" Transparent="yes" NoPrefix="yes" Text="Provide the required
credentials so the HTS backend can record the workflow information" />
<Control Id="Description3" Type="Text" X="15" Y="73" Width="350"
Height="13" Transparent="yes" NoPrefix="yes" Text="to the database." />
<Control Id="UseDifferentDomainUser" Type="Text" X="25" Y="87"
Width="100" Height="15" Text="Specfiy Domain User" />
<Control Id="GroupBoxDomainUser" Type="GroupBox" X="33" Y="101"
Width="225" Height="61" />
<Control Id="Username1" Type="Text" X="45" Y="122" Width="50"
Height="13" Transparent="yes" NoPrefix="yes" Text="Username:" />
<Control Id="Username2" Type="Edit" X="97" Y="113" Width="150"
Height="18" Property ="DOMAINUSER">
<Condition Action ="disable"><![CDATA[LOCALINSTALL =
"TRUE"]]></Condition>
</Control>
<Control Id="Password1" Type="Text" X="45" Y="137" Width="50"
Height="13" Transparent="yes" NoPrefix="yes" Text="Password:" />
<Control Id="Password2" Type="Edit" Password ="yes" X="97" Y="133"
Width="150" Height="18" Property ="DOMAINUSERPASSWORD">
<Condition Action ="disable"><![CDATA[LOCALINSTALL =
"TRUE"]]></Condition>
</Control>
<Control Id="UseDifferentSqlUser" Type="Text" X="25" Y="167"
Width="100" Height="18" Text="Specfiy Database User" />
<Control Id="GroupBoxDbUser" Type="GroupBox" X="33" Y="181"
Width="225" Height="61" />
<Control Id="Username3" Type="Text" X="45" Y="197" Width="50"
Height="13" Transparent="yes" NoPrefix="yes" Text="Username:" />
<Control Id="Username4" Type="Edit" X="97" Y="193" Width="150"
Height="18" Property ="SQLUSER"/>
<Control Id="Password3" Type="Text" X="45" Y="217" Width="50"
Height="13" Transparent="yes" NoPrefix="yes" Text="Password:" />
<Control Id="Password4" Type="Edit" Password ="yes" X="97" Y="213"
Width="150" Height="18" Property ="SQLUSERPASSWORD" />
<!--<Control Id="ServiceConfigHeader" Type="Text" X="15" Y="230"
Width="200" Height="13" Transparent="yes" NoPrefix="yes" Text="HTS Service
configuration." />-->
<!--<Control Id="GroupBoxServiceConfig" Type="GroupBox" X="18"
Y="200" Width="370" Height="60" />-->
<!--<Control Id="ServiceUserGroup" Type="RadioButtonGroup" X="22"
Y="218" Width="100" Height="50" Property ="SERVICEUSERTYPE" Text="Service User">
<RadioButtonGroup Property="SERVICEUSERTYPE">
<RadioButton Text="Current User" Value="CurrentUser" X="3"
Y="6" Width="90" Height="13"/>
--><!--<RadioButton Text="Network Service"
Value="NetworkServiceUser" X="3" Y="22" Width="75" Height="13" />--><!--
<RadioButton Text="Specific User" Value="SpecificUser" X="3"
Y="38" Width="75" Height="13"/>
</RadioButtonGroup>
</Control>-->
<Control Id="ServicePort1" Type="Text" X="25" Y="253" Width="50"
Height="13" Transparent="yes" NoPrefix="yes" Text="Service Port:" />
<Control Id="ServicePort2" Type="Edit" X="85" Y="250" Width="50"
Height="18" Property="SERVICEPORT"/>
<!--<Control Id="ServiceUserName1" Type="Text" X="120" Y="210"
Width="40" Height="13" Transparent="yes" NoPrefix="yes" Text="Username:" />
<Control Id="ServiceUserName2" Type="Edit" X="160" Y="210" Width="60"
Height="18" Property="SERVICEUSERNAME" Disabled ="yes" >
<Condition Action ="enable">
<![CDATA[SERVICEUSERTYPE="SpecificUser"]]>
</Condition>
<Condition Action ="disable">
<![CDATA[SERVICEUSERTYPE <> "SpecificUser"]]>
</Condition>
</Control>
<Control Id="ServicePassword1" Type="Text" X="230" Y="227" Width="40"
Height="13" Transparent="yes" NoPrefix="yes" Text="Password:" />
<Control Id="ServicePassword2" Type="Edit" X="290" Y="223" Width="80"
Height="18" Property="SERVICEPASSWORD" Disabled ="yes">
<Condition Action ="enable">
<![CDATA[SERVICEUSERTYPE="SpecificUser"]]>
</Condition>
<Condition Action ="disable">
<![CDATA[SERVICEUSERTYPE <> "SpecificUser"]]>
</Condition>
</Control>-->
<Control Id="BannerLine2" Type="Line" X="0" Y="270" Width="390"
Height="0" />
<Control Id="Back" Type="PushButton" X="180" Y="280" Width="56"
Height="17" Default="no" Cancel="yes" Text="Back" />
<Control Id="Next" Type="PushButton" X="236" Y="280" Width="56"
Height="17" Default="no" Cancel="yes" Text="Next" />
<Control Id="Cancel" Type="PushButton" X="300" Y="280" Width="56"
Height="17" Default="no" Cancel="yes" Text="Cancel" />
</Dialog>
</UI>
Rob Hermann
Senior Software Developer
Niceware International, LLC
10437 Innovation Drive
Suite 147
Milwaukee, WI 53226
Tel: 414-476-6423 x110
Fax: 414-476-7955
Email: [email protected]
http://www.nicewareintl.com
http://healthcare.nicewareintl.com
January 8th, 2010 - 10:30 AM CST - 11:30AM CST
Plan for a Successful 2010 with Niceware Products and Services
Register Today!
February 5th, 2010 - 10:30AM - 11:30AM CST
Implementing NiceWatch Enterprise Business Connector with Oracle and SAP
Register Today!
February 26th, 2010 - 10:30AM - 11:30AM CST
Oracle Partner Webinar
Register Today!
The information in this e-mail and any attachments is confidential and may be
subject to legal professional privilege. It is intended solely for the
attention and use of the named addressee(s). If you are not the intended
recipient or person responsible for delivering this information to the intended
recipient, please notify the sender immediately. Unless you are the intended
recipient or his/her representative you are not authorized to, and must not,
read, copy, distribute, use or retain this message or any part of it
-----Original Message-----
From: Harvey, John Ctr USAF Warfighter's Edge
[mailto:[email protected]]
Sent: Monday, February 22, 2010 9:18 AM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Wix Install - Custom Dialog, Next button needs to be
clicked twice dialog to advance
The first place to look is the publish events on the dialog's Next button.
Maybe something is getting called that isn't doing anything or calling the same
dialog. If you can post the XML for the dialog here, folks may see something
you don't.
John Harvey
-----Original Message-----
From: Robert Hermann [mailto:[email protected]]
Sent: Monday, February 22, 2010 7:25 AM
To: General discussion for Windows Installer XML toolset.
Subject: [WiX-users] Wix Install - Custom Dialog, Next button needs to be
clicked twice dialog to advance
I've got a WIX project where I have some custom dialogs along with the standard
dialogs.
One of the custom dialogs, the next button was advancing the install to the
next dialog with a single click.
I put in a small change to the install and the next button then needed two
clicks in order to get the dialogs to advance. I backed out this change however
the double click on the next button still stayed.
Once I get past this dialog and then backtrack (using the back buttons) and
then come upon this dialog again, the next button only needs one click to
advance, so this double click scenario only happens when the custom dialog is
used for the first time.
I don't see any errors in the install log when I use the /l*v logging option on
the msiexec.
Anyone have any advise as to what I can look at ...
Thanks !
Rob Hermann
Senior Software Developer
Niceware International, LLC
10437 Innovation Drive
Suite 147
Milwaukee, WI 53226
Tel: 414-476-6423 x110
Fax: 414-476-7955
Email: [email protected]
http://www.nicewareintl.com
http://healthcare.nicewareintl.com
January 8th, 2010 - 10:30 AM CST - 11:30AM CST
Plan for a Successful 2010 with Niceware Products and Services
Register Today!
February 5th, 2010 - 10:30AM - 11:30AM CST
Implementing NiceWatch Enterprise Business Connector with Oracle and SAP
Register Today!
February 26th, 2010 - 10:30AM - 11:30AM CST
Oracle Partner Webinar
Register Today!
The information in this e-mail and any attachments is confidential and may be
subject to legal professional privilege. It is intended solely for the
attention and use of the named addressee(s). If you are not the intended
recipient or person responsible for delivering this information to the intended
recipient, please notify the sender immediately. Unless you are the intended
recipient or his/her representative you are not authorized to, and must not,
read, copy, distribute, use or retain this message or any part of it
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users