Created
January 18, 2011 09:44
-
-
Save Qwark/784215 to your computer and use it in GitHub Desktop.
work installer
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"> | |
<Product Id="*" UpgradeCode="CBA4FC66-C74B-4B79-BDC5-AD872CB8DB2E" Version="1.0.0.0" Language="1033" Name="My Application Name" Manufacturer="My Manufacturer Name"> | |
<Package InstallerVersion="300" Compressed="yes" /> | |
<Media Id="1" Cabinet="myapplication.cab" EmbedCab="yes" /> | |
<!-- The following three sections are from the How To: Add a File to Your Installer topic--> | |
<Directory Id="TARGETDIR" Name="SourceDir"> | |
<Directory Id="CommonAppDataFolder"> | |
<Directory Id="APPLICATIONROOTDIRECTORY" Name="My Application Name" /> | |
</Directory> | |
</Directory> | |
<DirectoryRef Id="APPLICATIONROOTDIRECTORY"> | |
<Component Id="SetupOp.msi" Guid="E54CB850-15AC-4572-BF08-65077F0153B8"> | |
<File Id="SetupOp.msi" Name="SetupOp.msi" Source="SetupOp.msi" /> | |
</Component> | |
</DirectoryRef> | |
<Feature Id="MainApplication" Title="Main Application" Level="1"> | |
<ComponentRef Id="SetupOp.msi" /> | |
</Feature> | |
<UI Id="UserInterface"> | |
<Property Id="WIXUI_INSTALLDIR" Value="TARGETDIR" /> | |
<Property Id="WixUI_Mode" Value="Custom" /> | |
<TextStyle Id="WixUI_Font_Normal" FaceName="Tahoma" Size="8" /> | |
<TextStyle Id="WixUI_Font_Bigger" FaceName="Tahoma" Size="9" Bold="yes" /> | |
<TextStyle Id="WixUI_Font_Title" FaceName="Tahoma" Size="9" Bold="yes" /> | |
<Property Id="DefaultUIFont" Value="WixUI_Font_Normal" /> | |
<DialogRef Id="ProgressDlg" /> | |
<DialogRef Id="ErrorDlg" /> | |
<DialogRef Id="FilesInUse" /> | |
<DialogRef Id="FatalError" /> | |
<DialogRef Id="UserExit" /> | |
<Dialog Id="LangSelector" Width="370" Height="270"> | |
<Control Type="ComboBox" Property="SelectedLang" Id="cbLang" Width="75" Height="16" X="161" Y="109" Text="Select Language" ComboList="yes"> | |
<ComboBox Property="SelectedLang"> | |
<ListItem Text="Norsk" Value="TRANSFORMS=:nb-no.mst" /> | |
<ListItem Text="English" Value="TRANSFORMS=""" /> | |
</ComboBox> | |
</Control> | |
<Control Id="BottomLine" Type="Line" X="0" Y="234" Width="370" Height="0" /> | |
<Control Id="Next" Type="PushButton" X="236" Y="243" Width="56" Height="17" Default="yes" TabSkip="no" Text="Next"> | |
<Publish Event="EndDialog" Value="Return"> | |
</Publish> | |
</Control> | |
</Dialog> | |
<InstallUISequence> | |
<Show Dialog="LangSelector" Sequence="1" /> | |
</InstallUISequence> | |
<Publish Dialog="ExitDialog" Control="Finish" Event="DoAction" Value="LaunchApplication">ShallInstallSetup = 1</Publish> | |
<Publish Dialog="ExitDialog" Control="Finish" Event="EndDialog" Value="Return" Order="999">1</Publish> | |
</UI> | |
<UIRef Id="WixUI_Common" /> | |
<Property Id="SelectedLang" Value="nb-NO" /> | |
<Property Id="ShallInstallSetup" Value="1" /> | |
<Property Id="WixShellExecTarget" Value="[#SetupOp.msi]" /> | |
<CustomActionRef Id="WixExitEarlyWithSuccess" /> | |
<CustomAction Id="LaunchApplication" Return="asyncNoWait" ExeCommand="msiexec /i "[APPLICATIONROOTDIRECTORY]SetupOp.msi" [SelectedLang]" Directory="APPLICATIONROOTDIRECTORY">asdf</CustomAction> | |
</Product> | |
</Wix> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment