WIXInstaller. part 4
This commit is contained in:
parent
1c59ad34e4
commit
7a8a47e0f4
6 changed files with 4606 additions and 4664 deletions
|
@ -7,19 +7,27 @@
|
|||
|
||||
<Package InstallerVersion="200" Compressed="yes" />
|
||||
<Media Id="1" EmbedCab="yes" Cabinet="websitepanel.cab" />
|
||||
|
||||
<Feature Id="SchedulerServiceFeature" Title="Scheduler Service" Level="1">
|
||||
<ComponentGroupRef Id="SchedulerServiceFiles" />
|
||||
</Feature>
|
||||
<Feature Id="ServerFeature" Title="Server" Level="1">
|
||||
|
||||
<Property Id="INSTALLSERVICEFOLDER" Value="c:\WebsitePanel\SchedulerService" />
|
||||
<Property Id="INSTALLSERVERFOLDER" Value="c:\WebsitePanel\Server" />
|
||||
<Property Id="INSTALLENTERPRISESERVERFOLDER" Value="c:\WebsitePanel\Enterprise Server" />
|
||||
<Property Id="INSTALLPORTALFOLDER" Value="c:\WebsitePanel\Portal" />
|
||||
|
||||
<Feature Id="ServerFeature" Title="Server" Level="1" ConfigurableDirectory="INSTALLSERVERFOLDER"
|
||||
Description="WebsitePanel Server is a set of services running on the remote server to be controlled. Server application should be reachable from Enterprise Server one.">
|
||||
<ComponentGroupRef Id="ServerFiles" />
|
||||
</Feature>
|
||||
<Feature Id="EnterpriseServerFeature" Title="Enterprise Server" Level="1">
|
||||
<Feature Id="EnterpriseServerFeature" Title="Enterprise Server" Level="1" ConfigurableDirectory="INSTALLENTERPRISESERVERFOLDER"
|
||||
Description="Enterprise Server is the heart of WebsitePanel system. It includes all business logic of the application. Enterprise Server should have access to Server and be accessible from Portal applications.">
|
||||
<ComponentGroupRef Id="EnterpriseServerFiles" />
|
||||
</Feature>
|
||||
<Feature Id="PortalFeature" Title="Portal" Level="1">
|
||||
<Feature Id="PortalFeature" Title="Portal" Level="1" ConfigurableDirectory="INSTALLPORTALFOLDER"
|
||||
Description="WebsitePanel Portal is a control panel itself with user interface which allows managing user accounts, hosting spaces, web sites, FTP accounts, files, etc.">
|
||||
<ComponentGroupRef Id="PortalFiles" />
|
||||
</Feature>
|
||||
<Feature Id="SchedulerServiceFeature" Title="Scheduler Service" Level="1" ConfigurableDirectory="INSTALLSERVICEFOLDER" Description="WebsitePanel scheduler Service">
|
||||
<ComponentGroupRef Id="SchedulerServiceFiles" />
|
||||
</Feature>
|
||||
|
||||
<Property Id="BannerBitmap">bannrbmp</Property>
|
||||
|
||||
|
@ -44,12 +52,6 @@
|
|||
|
||||
<Property Id="ARPPRODUCTICON" Value="WebSitePanel.ico" />
|
||||
<Property Id="SERVERNAME" Value="localhost\SQLExpress" />
|
||||
|
||||
<Property Id="WIXUI_INSTALLDIR" Value="WEBSITEPANELFOLDER" />
|
||||
<Property Id="INSTALLSERVICEFOLDER" Value="c:\WebsitePanel\SchedulerService" />
|
||||
<Property Id="INSTALLSERVERFOLDER" Value="c:\WebsitePanel\Server" />
|
||||
<Property Id="INSTALLENTERPRISESERVERFOLDER" Value="c:\WebsitePanel\Enterprise Server" />
|
||||
<Property Id="INSTALLPORTALFOLDER" Value="c:\WebsitePanel\Portal" />
|
||||
|
||||
<Property Id="CONNECTIONSTRING" Value="1" />
|
||||
<Property Id="DATABASENAME" Value="WebsitePanel" />
|
||||
|
@ -58,78 +60,80 @@
|
|||
<Binary Id="bannrbmp" SourceFile="bannrbmp.bmp" />
|
||||
|
||||
<UI Id="CustomInstaller">
|
||||
<UIRef Id="WixUI_Mondo" />
|
||||
<Dialog Id="DatabaseConnectionDlg" Width="370" Height="270" NoMinimize="yes" Title="[ProductName] Setup">
|
||||
<Control Id="Back" Type="PushButton" X="180" Y="243" Width="56" Height="17" Text="Back">
|
||||
<Publish Event="NewDialog" Value="InstallLocationDlg">1</Publish>
|
||||
</Control>
|
||||
<Control Id="Next" Type="PushButton" X="236" Y="243" Width="56" Height="17" Default="yes" Text="Next">
|
||||
<Publish Event="DoAction" Value="CheckConnection">1</Publish>
|
||||
<Publish Event="SpawnDialog" Value="ConnectionWarningDlg">CORRECTCONNECTION = "0"</Publish>
|
||||
<Publish Event="NewDialog" Value="VerifyReadyDlg">CORRECTCONNECTION = "1"</Publish>
|
||||
</Control>
|
||||
<Control Id="Cancel" Type="PushButton" X="304" Y="243" Width="56" Height="17" Cancel="yes" Text="Cancel">
|
||||
<Publish Event="SpawnDialog" Value="CancelDlg">1</Publish>
|
||||
</Control>
|
||||
<Control Id="BannerBitmap" Type="Bitmap" X="0" Y="0" Width="370" Height="44" TabSkip="no" Text="[BannerBitmap]" />
|
||||
<Control Id="BannerLine" Type="Line" X="0" Y="44" Width="370" Height="0" />
|
||||
<Control Id="BottomLine" Type="Line" X="0" Y="234" Width="370" Height="0" />
|
||||
<Control Id="Description" Type="Text" X="20" Y="23" Width="280" Height="20" Transparent="yes" NoPrefix="yes" Text="Configure WebsitePanel database connection string" />
|
||||
<Control Id="Title" Type="Text" X="15" Y="6" Width="200" Height="15" Transparent="yes" NoPrefix="yes" Text="{\WixUI_Font_Title}Database connection string" />
|
||||
<Control Type="Text" Id="ServerLabel" Width="50" Height="17" X="75" Y="68" Text="SQL Server:" />
|
||||
<Control Type="Edit" Id="ServerEdit" Width="163" Height="15" X="142" Y="68" Property="SERVERNAME" />
|
||||
<Control Type="Text" Id="AuthenticationLabel" Width="70" Height="17" X="62" Y="94" Text="Authentication:" />
|
||||
<Control Type="ComboBox" Id="AuthenticationCombo" Width="163" Height="16" X="142" Y="94" Property="AUTHENTICATIONTYPE">
|
||||
<ComboBox Property="AUTHENTICATIONTYPE">
|
||||
<ListItem Text="Windows Authentication" Value="Windows Authentication" />
|
||||
<ListItem Text="SQL Server Authentication" Value="SQL Server Authentication" />
|
||||
</ComboBox>
|
||||
</Control>
|
||||
<Control Type="Text" Id="LoginLabel" Width="50" Height="17" X="71" Y="120" Text="Login Name:" />
|
||||
<Control Type="Edit" Id="LoginEdit" Width="163" Height="15" X="142" Y="120" Property="LOGIN">
|
||||
<Condition Action="disable">AUTHENTICATIONTYPE = "Windows Authentication"</Condition>
|
||||
<Condition Action="enable">NOT(AUTHENTICATIONTYPE = "Windows Authentication")</Condition>
|
||||
</Control>
|
||||
<Control Type="Text" Id="PasswordLabel" Width="50" Height="17" X="80" Y="146" Text="Password:" />
|
||||
<Control Type="Edit" Id="PasswordEdit" Width="163" Height="17" X="142" Y="146" Property="PASSWORD" Hidden="no" Password="yes">
|
||||
<Condition Action="disable">AUTHENTICATIONTYPE = "Windows Authentication"</Condition>
|
||||
<Condition Action="enable">NOT(AUTHENTICATIONTYPE = "Windows Authentication")</Condition>
|
||||
</Control>
|
||||
<Control Type="Text" Id="DatabaseLabel" Width="50" Height="17" X="80" Y="172" Text="Database:" />
|
||||
<Control Type="Edit" Id="DatabaseEdit" Width="163" Height="17" X="142" Y="172" Property="DATABASENAME" />
|
||||
</Dialog>
|
||||
<Dialog Id="ConnectionWarningDlg" Width="250" Height="85" Title="[ProductName] Setup" NoMinimize="yes">
|
||||
<Control Id="Ok" Type="PushButton" X="184" Y="60" Width="56" Height="17" Text="Ok">
|
||||
<Publish Event="EndDialog" Value="Return">1</Publish>
|
||||
</Control>
|
||||
<Control Id="Text" Type="Text" X="8" Y="8" Width="221" Height="30">
|
||||
<Text>Connection not valid.</Text>
|
||||
</Control>
|
||||
</Dialog>
|
||||
<Dialog Id="InstallLocationDlg" Width="370" Height="270" Title="[ProductName] Setup">
|
||||
<Control Id="Next" Type="PushButton" X="236" Y="243" Width="56" Height="17" Default="yes" Text="Next">
|
||||
<Publish Event="DoAction" Value="PreInstallationAction">1</Publish>
|
||||
<Publish Event="NewDialog" Value="DatabaseConnectionDlg" Order="3">SKIPCONNECTIONSTRINGSTEP = "0"</Publish>
|
||||
<Publish Event="NewDialog" Value="VerifyReadyDlg" Order="3">SKIPCONNECTIONSTRINGSTEP = "1"</Publish>
|
||||
</Control>
|
||||
<Control Id="Back" Type="PushButton" X="180" Y="243" Width="56" Height="17" Text="Back">
|
||||
<Publish Event="NewDialog" Value="LicenseAgreementDlg" Order="3">1</Publish>
|
||||
</Control>
|
||||
<Control Id="Cancel" Type="PushButton" X="304" Y="243" Width="56" Height="17" Cancel="yes" Text="Cancel">
|
||||
<Publish Event="SpawnDialog" Value="CancelDlg">1</Publish>
|
||||
</Control>
|
||||
<Control Id="Description" Type="Text" X="25" Y="23" Width="280" Height="15" Transparent="yes" NoPrefix="yes" Text="Configure Scheduler Service Install location" />
|
||||
<Control Id="Title" Type="Text" X="15" Y="6" Width="200" Height="15" Transparent="yes" NoPrefix="yes" Text="{\WixUI_Font_Title}Install Location" />
|
||||
<Control Id="BannerBitmap" Type="Bitmap" X="0" Y="0" Width="370" Height="44" TabSkip="no" Text="[BannerBitmap]" />
|
||||
<Control Id="BannerLine" Type="Line" X="0" Y="44" Width="370" Height="0" />
|
||||
<Control Id="BottomLine" Type="Line" X="0" Y="234" Width="370" Height="0" />
|
||||
<Control Id="FolderLabel" Type="Text" X="20" Y="60" Width="290" Height="30" NoPrefix="yes" Text="Folder Name:" />
|
||||
<Control Id="Folder" Type="PathEdit" X="22" Y="90" Width="320" Height="15" Property="WIXUI_INSTALLDIR" Indirect="yes" />
|
||||
</Dialog>
|
||||
<Publish Dialog="LicenseAgreementDlg" Control="Next" Event="NewDialog" Value="CustomizeDlg" Order="3">
|
||||
LicenseAccepted = "1"
|
||||
</Publish>
|
||||
<Publish Dialog="VerifyReadyDlg" Control="Back" Event="NewDialog" Value="DatabaseConnectionDlg">SKIPCONNECTIONSTRINGSTEP = "0"</Publish>
|
||||
<UIRef Id="WixUI_Mondo" />
|
||||
<Dialog Id="DatabaseConnectionDlg" Width="370" Height="270" NoMinimize="yes" Title="[ProductName] Setup">
|
||||
<Control Id="Back" Type="PushButton" X="180" Y="243" Width="56" Height="17" Text="Back">
|
||||
<Publish Event="NewDialog" Value="InstallLocationDlg">1</Publish>
|
||||
</Control>
|
||||
<Control Id="Next" Type="PushButton" X="236" Y="243" Width="56" Height="17" Default="yes" Text="Next">
|
||||
<Publish Event="DoAction" Value="CheckConnection">1</Publish>
|
||||
<Publish Event="SpawnDialog" Value="ConnectionWarningDlg">CORRECTCONNECTION = "0"</Publish>
|
||||
<Publish Event="NewDialog" Value="VerifyReadyDlg">CORRECTCONNECTION = "1"</Publish>
|
||||
</Control>
|
||||
<Control Id="Cancel" Type="PushButton" X="304" Y="243" Width="56" Height="17" Cancel="yes" Text="Cancel">
|
||||
<Publish Event="SpawnDialog" Value="CancelDlg">1</Publish>
|
||||
</Control>
|
||||
<Control Id="BannerBitmap" Type="Bitmap" X="0" Y="0" Width="370" Height="44" TabSkip="no" Text="[BannerBitmap]" />
|
||||
<Control Id="BannerLine" Type="Line" X="0" Y="44" Width="370" Height="0" />
|
||||
<Control Id="BottomLine" Type="Line" X="0" Y="234" Width="370" Height="0" />
|
||||
<Control Id="Description" Type="Text" X="20" Y="23" Width="280" Height="20" Transparent="yes" NoPrefix="yes" Text="Configure WebsitePanel database connection string" />
|
||||
<Control Id="Title" Type="Text" X="15" Y="6" Width="200" Height="15" Transparent="yes" NoPrefix="yes" Text="{\WixUI_Font_Title}Database connection string" />
|
||||
<Control Type="Text" Id="ServerLabel" Width="50" Height="17" X="75" Y="68" Text="SQL Server:" />
|
||||
<Control Type="Edit" Id="ServerEdit" Width="163" Height="15" X="142" Y="68" Property="SERVERNAME" />
|
||||
<Control Type="Text" Id="AuthenticationLabel" Width="70" Height="17" X="62" Y="94" Text="Authentication:" />
|
||||
<Control Type="ComboBox" Id="AuthenticationCombo" Width="163" Height="16" X="142" Y="94" Property="AUTHENTICATIONTYPE">
|
||||
<ComboBox Property="AUTHENTICATIONTYPE">
|
||||
<ListItem Text="Windows Authentication" Value="Windows Authentication" />
|
||||
<ListItem Text="SQL Server Authentication" Value="SQL Server Authentication" />
|
||||
</ComboBox>
|
||||
</Control>
|
||||
<Control Type="Text" Id="LoginLabel" Width="50" Height="17" X="71" Y="120" Text="Login Name:" />
|
||||
<Control Type="Edit" Id="LoginEdit" Width="163" Height="15" X="142" Y="120" Property="LOGIN">
|
||||
<Condition Action="disable">AUTHENTICATIONTYPE = "Windows Authentication"</Condition>
|
||||
<Condition Action="enable">NOT(AUTHENTICATIONTYPE = "Windows Authentication")</Condition>
|
||||
</Control>
|
||||
<Control Type="Text" Id="PasswordLabel" Width="50" Height="17" X="80" Y="146" Text="Password:" />
|
||||
<Control Type="Edit" Id="PasswordEdit" Width="163" Height="17" X="142" Y="146" Property="PASSWORD" Hidden="no" Password="yes">
|
||||
<Condition Action="disable">AUTHENTICATIONTYPE = "Windows Authentication"</Condition>
|
||||
<Condition Action="enable">NOT(AUTHENTICATIONTYPE = "Windows Authentication")</Condition>
|
||||
</Control>
|
||||
<Control Type="Text" Id="DatabaseLabel" Width="50" Height="17" X="80" Y="172" Text="Database:" />
|
||||
<Control Type="Edit" Id="DatabaseEdit" Width="163" Height="17" X="142" Y="172" Property="DATABASENAME" />
|
||||
</Dialog>
|
||||
<Dialog Id="ConnectionWarningDlg" Width="250" Height="85" Title="[ProductName] Setup" NoMinimize="yes">
|
||||
<Control Id="Ok" Type="PushButton" X="184" Y="60" Width="56" Height="17" Text="Ok">
|
||||
<Publish Event="EndDialog" Value="Return">1</Publish>
|
||||
</Control>
|
||||
<Control Id="Text" Type="Text" X="8" Y="8" Width="221" Height="30">
|
||||
<Text>Connection not valid.</Text>
|
||||
</Control>
|
||||
</Dialog>
|
||||
<Dialog Id="InstallLocationDlg" Width="370" Height="270" Title="[ProductName] Setup">
|
||||
<Control Id="Next" Type="PushButton" X="236" Y="243" Width="56" Height="17" Default="yes" Text="Next">
|
||||
<Publish Event="DoAction" Value="PreInstallationAction">1</Publish>
|
||||
<Publish Event="NewDialog" Value="DatabaseConnectionDlg" Order="3">SKIPCONNECTIONSTRINGSTEP = "0"</Publish>
|
||||
<Publish Event="NewDialog" Value="VerifyReadyDlg" Order="3">SKIPCONNECTIONSTRINGSTEP = "1"</Publish>
|
||||
</Control>
|
||||
<Control Id="Back" Type="PushButton" X="180" Y="243" Width="56" Height="17" Text="Back">
|
||||
<Publish Event="NewDialog" Value="LicenseAgreementDlg" Order="3">1</Publish>
|
||||
</Control>
|
||||
<Control Id="Cancel" Type="PushButton" X="304" Y="243" Width="56" Height="17" Cancel="yes" Text="Cancel">
|
||||
<Publish Event="SpawnDialog" Value="CancelDlg">1</Publish>
|
||||
</Control>
|
||||
<Control Id="Description" Type="Text" X="25" Y="23" Width="280" Height="15" Transparent="yes" NoPrefix="yes" Text="Configure Scheduler Service Install location" />
|
||||
<Control Id="Title" Type="Text" X="15" Y="6" Width="200" Height="15" Transparent="yes" NoPrefix="yes" Text="{\WixUI_Font_Title}Install Location" />
|
||||
<Control Id="BannerBitmap" Type="Bitmap" X="0" Y="0" Width="370" Height="44" TabSkip="no" Text="[BannerBitmap]" />
|
||||
<Control Id="BannerLine" Type="Line" X="0" Y="44" Width="370" Height="0" />
|
||||
<Control Id="BottomLine" Type="Line" X="0" Y="234" Width="370" Height="0" />
|
||||
<Control Id="FolderLabel" Type="Text" X="20" Y="60" Width="290" Height="30" NoPrefix="yes" Text="Folder Name:" />
|
||||
<Control Id="Folder" Type="PathEdit" X="22" Y="90" Width="320" Height="15" Property="WIXUI_INSTALLDIR" Indirect="yes" />
|
||||
</Dialog>
|
||||
<Publish Dialog="LicenseAgreementDlg" Control="Next" Event="NewDialog" Value="CustomizeDlg" Order="3">
|
||||
LicenseAccepted = "1"
|
||||
</Publish>
|
||||
<Publish Dialog="CustomizeDlg" Control="Back" Event="NewDialog" Value="LicenseAgreementDlg" Order="3">
|
||||
</Publish>
|
||||
<Publish Dialog="VerifyReadyDlg" Control="Back" Event="NewDialog" Value="DatabaseConnectionDlg">SKIPCONNECTIONSTRINGSTEP = "0"</Publish>
|
||||
<Publish Dialog="VerifyReadyDlg" Control="Back" Event="NewDialog" Value="InstallLocationDlg">SKIPCONNECTIONSTRINGSTEP = "1"</Publish>
|
||||
<TextStyle Id="DlgTitleFont" FaceName="Tahoma" Size="8" Bold="yes" />
|
||||
</UI>
|
||||
|
@ -167,12 +171,10 @@
|
|||
|
||||
<Fragment>
|
||||
<Directory Id="TARGETDIR" Name="SourceDir">
|
||||
<Directory Id="WEBSITEPANELFOLDER" Name="WebsitePanel">
|
||||
<Directory Id="INSTALLSERVICEFOLDER" Name="SchedulerService" />
|
||||
<Directory Id="INSTALLSERVERFOLDER" Name="Server" />
|
||||
<Directory Id="INSTALLENTERPRISESERVERFOLDER" Name="Enterprise Server" />
|
||||
<Directory Id="INSTALLPORTALFOLDER" Name="Portal" />
|
||||
</Directory>
|
||||
<Directory Id="INSTALLSERVICEFOLDER" Name="SchedulerService" />
|
||||
<Directory Id="INSTALLSERVERFOLDER" Name="Server" />
|
||||
<Directory Id="INSTALLENTERPRISESERVERFOLDER" Name="Enterprise Server" />
|
||||
<Directory Id="INSTALLPORTALFOLDER" Name="Portal" />
|
||||
</Directory>
|
||||
</Fragment>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue