so I have been trying to develop this installer for my application. I decided to change my GUI to <UIRef Id="WixUI_InstallDir" />
. According to a tutorial that I was reading I also need to include <Property Id="WIXUI_INSTALLDIR" Value="TOP_LEVEL_DIR" />
if I use that GUI. But, since I changed the GUI and added this line I am getting an error (2343). I have posted the MSI Log below as well and it is complaining about a location?
Error:
MSI (c) (CC:84) [13:27:33:140]: Note: 1: 2343
DEBUG: Error 2343: Specified path is empty.
The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2343. The arguments are: , ,
MSI (c) (CC:84) [13:27:34:663]: Product: Viewer 1.0 — The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2343. The arguments are: , ,
Action ended 13:27:34: WelcomeDlg. Return value 3.
MSI (c) (CC:DC) [13:27:34:672]: Doing action: FatalError
Action 13:27:34: FatalError.
Action start 13:27:34: FatalError.
Action 13:27:34: FatalError. Dialog created
Action ended 13:27:36: FatalError. Return value 2.
Action ended 13:27:36: INSTALL. Return value 3.
Code:
<?xml version='1.0' encoding='windows-1252'?>
<Wix xmlns='http://schemas.microsoft.com/wix/2006/wi'>
<Product Name='Viewer 1.0' Id='*' UpgradeCode='PUT-GUID-HERE'
Language='1033' Codepage='1252' Version='1.0.0' Manufacturer='Direct'>
<Package Id='*' Keywords='Installer' Description="Viewer Installer"
Comments='Installer is a registered trademark.' Manufacturer='Direct'
InstallerVersion='100' Languages='1033' Compressed='yes'
SummaryCodepage='1252' />
<Media Id='1' Cabinet='Sample.cab' EmbedCab='yes' DiskPrompt="CD-ROM #1" />
<Property Id='DiskPrompt' Value="1.0 Installation [1]" />
<Property Id="WIXUI_INSTALLDIR" Value="TOP_LEVEL_DIR" />
<Directory Id='TARGETDIR' Name='SourceDir'>
<Directory Id='ProgramFilesFolder' Name='PFiles'>
<Directory Id='Direct' Name='DMD'>
<Directory Id='INSTALLDIR' Name='Viewer'>
<Component Id='MainExecutable' Guid='*'>
<Shortcut Id="startmenuViewer" Directory="ProgramMenuDir"
Name="Viewer" WorkingDirectory='INSTALLDIR'
Icon="Viewer.exe" IconIndex="0" Advertise="yes" />
<Shortcut Id="desktopViewer" Directory="DesktopFolder"
Name="Viewer" WorkingDirectory='INSTALLDIR'
Icon="Viewer.exe" IconIndex="0" Advertise="yes" />
<File Id='EXE' Name='Viewer.exe' DiskId='1'
Source='Viewer.exe' KeyPath='yes'>
</File>
<ProgId Id="DMDCCDAV" Description="Viewer">
<Extension Id="xml" >
<Verb Id="open" Argument=""%1""
TargetFile="EXE" />
</Extension>
</ProgId>
</Component>
</Directory>
</Directory>
</Directory>
<Directory Id="ProgramMenuFolder" Name="Programs">
<Directory Id="ProgramMenuDir" Name="Viewer">
<Component Id="ProgramMenuDir" Guid="*">
<RemoveFolder Id='ProgramMenuDir' On='uninstall' />
<RegistryValue Root='HKCU'
Key='Software[Manufacturer][ProductName]'
Type='string' Value='' KeyPath='yes' />
</Component>
</Directory>
</Directory>
<Directory Id="DesktopFolder" Name="Desktop" />
</Directory>
<Feature Id='Complete' Title='Viewer Installation'
Display='expand' Level='1' ConfigurableDirectory='INSTALLDIR'>
<Feature Id='MainProgram' Title='Viewer Program'
Description='The main executable.' Level='1'>
<ComponentRef Id='MainExecutable' />
<ComponentRef Id='ProgramMenuDir' />
</Feature>
</Feature>
<UIRef Id="WixUI_InstallDir" />
<UIRef Id="WixUI_ErrorProgressText" />
<Icon Id="Viewer.exe" SourceFile="Viewer.exe" />
</Product>
</Wix>
I am receiving the error when using the following simple WIX configuration.
«The installer has encountered an unexpected error installing the package. This may indicate a problem with this package. The error code is 2343.»
I don’t understand what is wrong…
<?xml version="1.0" encoding="UTF-8"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
<?define ProductName="My Setup Project" ?>
<?define ProductVersion="1.0.0.0" ?>
<?define ProductCode="b7bc7c6f-9a4e-4973-be84-eca8e3427c97"?>
<?define UpgradeCode="1903339e-18bf-42d2-a12c-35e3e487310e"?>
<?define Manufacturer="MyCompany"?>
<Product Id="$(var.ProductCode)" Name="$(var.ProductName)" Language="1033" Version="$(var.ProductVersion)" Manufacturer="$(var.Manufacturer)"
UpgradeCode="$(var.UpgradeCode)">
<Package InstallerVersion="200" Compressed="yes" InstallScope="perMachine" />
<MajorUpgrade DowngradeErrorMessage="A newer version of [ProductName] is already installed." />
<MediaTemplate />
<Feature Id="ProductFeature" Title="$(var.ProductName)" Level="1">
<ComponentRef Id="ProductComponent" />
<ComponentRef Id="ApplicationShortcutProj" />
</Feature>
<Property Id="WIXUI_INSTALLDIR" Value="INSTALLLOCATION" ></Property>
<!--<WixVariable Id="WixUILicenseRtf" Overridable="yes" Value="License.rtf"/>-->
<UIRef Id="WixUI_InstallDir"/>
</Product>
<Fragment>
<Directory Id="TARGETDIR" Name="SourceDir">
<Directory Id="ProgramFilesFolder">
<Directory Id="INSTALLFOLDER" Name="$(var.ProductName)" />
</Directory>
<Directory Id="ProgramMenuFolder">
<Directory Id="ApplicationProgramsFolder" Name="$(var.ProductName)">
<Component Id="ApplicationShortcutProj" Guid="4CEBD68F-E933-47f9-B02C- A4FC69FDB551">
<Shortcut Id="ShortcutProj"
Name="Proj"
Description="$(var.ProductName)"
Target="[INSTALLLOCATION]SetupProject.exe"
WorkingDirectory="INSTALLLOCATION"/>
<RemoveFolder Id="ApplicationProgramsFolder" On="uninstall"/>
<RegistryValue Root="HKCU" Key="Software$(var.Manufacturer)$(var.ProductName)" Name="installed" Type="integer" Value="1" KeyPath="yes"/>
</Component>
</Directory>
</Directory>
</Directory>
</Fragment>
<Fragment>
<ComponentGroup Id="ProductComponents" Directory="INSTALLFOLDER">
<!-- TODO: Remove the comments around this Component element and the ComponentRef below in order to add resources to this installer. -->
<!-- <Component Id="ProductComponent"> -->
<!-- TODO: Insert files, registry keys, and other resources here. -->
<!-- </Component> -->
<Component Id="ProductComponent" Guid="b11556a2-e066-4393-af5c-9c9210187eb2">
<File Id='Proj' DiskId='1' Source='D:SetupProjectSetupProject.exe'/>
</Component>
</ComponentGroup>
</Fragment>
</Wix>
this is logfile:
=== Logging started: 15.07.2014 16:53:12 ===
Action 16:53:12: INSTALL.
Action start 16:53:12: INSTALL.
Action 16:53:12: FindRelatedProducts. Searching for related applications
Action start 16:53:12: FindRelatedProducts.
Action ended 16:53:12: FindRelatedProducts. Return value 1.
Action 16:53:12: PrepareDlg.
Action start 16:53:12: PrepareDlg.
Info 2898.For WixUI_Font_Normal textstyle, the system created a 'Tahoma' font, in 0
character set, of 13 pixels height.
Info 2898.For WixUI_Font_Bigger textstyle, the system created a 'Tahoma' font, in 0 character set, of 19 pixels height.
Action 16:53:12: PrepareDlg. Dialog created
Action ended 16:53:12: PrepareDlg. Return value 1.
Action 16:53:12: AppSearch. Searching for installed applications
Action start 16:53:12: AppSearch.
Action ended 16:53:12: AppSearch. Return value 0.
Action 16:53:12: LaunchConditions. Evaluating launch conditions
Action start 16:53:12: LaunchConditions.
Action ended 16:53:12: LaunchConditions. Return value 1.
Action 16:53:12: ValidateProductID.
Action start 16:53:12: ValidateProductID.
Action ended 16:53:12: ValidateProductID. Return value 1.
Action 16:53:12: CostInitialize. Computing space requirements
Action start 16:53:12: CostInitialize.
Action ended 16:53:12: CostInitialize. Return value 1.
Action 16:53:12: FileCost. Computing space requirements
Action start 16:53:12: FileCost.
Action ended 16:53:12: FileCost. Return value 1.
Action 16:53:12: CostFinalize. Computing space requirements
Action start 16:53:12: CostFinalize.
Action ended 16:53:12: CostFinalize. Return value 1.
Action 16:53:12: MigrateFeatureStates. Migrating feature states from related applications
Action start 16:53:12: MigrateFeatureStates.
Action ended 16:53:12: MigrateFeatureStates. Return value 0.
Action 16:53:12: WelcomeDlg.
Action start 16:53:12: WelcomeDlg.
Action 16:53:12: WelcomeDlg. Dialog created
Info 2898.For WixUI_Font_Title textstyle, the system created a 'Tahoma' font, in 0 character set, of 14 pixels height.
Action 16:53:13: LicenseAgreementDlg. Dialog created
DEBUG: Error 2343: Specified path is empty.
The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2343. The arguments are: , ,
MSI (c) (14:DC) [16:53:16:947]: Product: My Setup Project -- The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2343. The arguments are: , ,
Action ended 16:53:16: WelcomeDlg. Return value 3.
Action 16:53:16: FatalError.
Action start 16:53:16: FatalError.
Action 16:53:16: FatalError. Dialog created
Action ended 16:53:17: FatalError. Return value 2.
Action ended 16:53:17: INSTALL. Return value 3.
Property(C): UpgradeCode = {1903339E-18BF-42D2-A12C-35E3E487310E}
Property(C): LicenseAccepted = 1
Property(C): INSTALLFOLDER = C:Program FilesMy Setup Project
Property(C): ApplicationProgramsFolder = C:ProgramDataMicrosoftWindowsStart MenuProgramsMy Setup Project
Property(C): WixUIRMOption = UseRM
Property(C): WIXUI_INSTALLDIR = INSTALLLOCATION
Property(C): ALLUSERS = 1
Property(C): ARPNOMODIFY = 1
Property(C): ProgramFilesFolder = C:Program Files
Property(C): TARGETDIR = d:
Property(C): ProgramMenuFolder = C:ProgramDataMicrosoftWindowsStart MenuPrograms
Property(C): SourceDir = d:ProgrammingSetupProject1SetupProject1binRelease
Property(C): Manufacturer = MyCompany
Property(C): ProductCode = {B7BC7C6F-9A4E-4973-BE84-ECA8E3427C97}
Property(C): ProductLanguage = 1033
Property(C): ProductName = My Setup Project
Property(C): ProductVersion = 1.0.0.0
Property(C): DefaultUIFont = WixUI_Font_Normal
Property(C): WixUI_Mode = InstallDir
Property(C): ErrorDialog = ErrorDlg
Property(C): SecureCustomProperties = WIX_DOWNGRADE_DETECTED;WIX_UPGRADE_DETECTED
Property(C): MsiLogFileLocation = d:ProgrammingSetupProject1SetupProject1binReleaselog.txt
Property(C): PackageCode = {3DD7BD4A-C2AF-42D9-A4E0-EF5C649485FA}
Property(C): ProductState = -1
Property(C): PackagecodeChanging = 1
Property(C): CURRENTDIRECTORY = C:UsersSERGEY
Property(C): CLIENTUILEVEL = 0
Property(C): CLIENTPROCESSID = 7700
Property(C): VersionDatabase = 200
Property(C): MsiSystemRebootPending = 1
Property(C): VersionMsi = 5.00
Property(C): VersionNT = 601
Property(C): WindowsBuild = 7601
Property(C): ServicePackLevel = 1
Property(C): ServicePackLevelMinor = 0
Property(C): MsiNTProductType = 1
Property(C): WindowsFolder = C:Windows
Property(C): WindowsVolume = C:
Property(C): SystemFolder = C:Windowssystem32
Property(C): System16Folder = C:Windowssystem
Property(C): RemoteAdminTS = 1
Property(C): TempFolder = C:UsersSERGEYAppDataLocalTemp
Property(C): CommonFilesFolder = C:Program FilesCommon Files
Property(C): AppDataFolder = C:UsersSERGEYAppDataRoaming
Property(C): FavoritesFolder = C:UsersSERGEYFavorites
Property(C): NetHoodFolder = C:UsersSERGEYAppDataRoamingMicrosoftWindowsNetwork Shortcuts
Property(C): PersonalFolder = C:UsersSERGEYDocuments
Property(C): PrintHoodFolder = C:UsersSERGEYAppDataRoamingMicrosoftWindowsPrinter Shortcuts
Property(C): RecentFolder = C:UsersSERGEYAppDataRoamingMicrosoftWindowsRecent
Property(C): SendToFolder = C:UsersSERGEYAppDataRoamingMicrosoftWindowsSendTo
Property(C): TemplateFolder = C:ProgramDataMicrosoftWindowsTemplates
Property(C): CommonAppDataFolder = C:ProgramData
Property(C): LocalAppDataFolder = C:UsersSERGEYAppDataLocal
Property(C): MyPicturesFolder = C:UsersSERGEYPictures
Property(C): AdminToolsFolder = C:ProgramDataMicrosoftWindowsStart MenuProgramsAdministrative Tools
Property(C): StartupFolder = C:ProgramDataMicrosoftWindowsStart MenuProgramsStartup
Property(C): StartMenuFolder = C:ProgramDataMicrosoftWindowsStart Menu
Property(C): DesktopFolder = C:UsersPublicDesktop
Property(C): FontsFolder = C:WindowsFonts
Property(C): GPTSupport = 1
Property(C): OLEAdvtSupport = 1
Property(C): ShellAdvtSupport = 1
Property(C): Intel = 6
Property(C): PhysicalMemory = 2980
Property(C): VirtualMemory = 2718
Property(C): LogonUser = SERGEY
Property(C): UserSID = S-1-5-21-4221191904-2271210130-3508014703-1000
Property(C): UserLanguageID = 1049
Property(C): ComputerName = SERGEY-PC
Property(C): SystemLanguageID = 1049
Property(C): ScreenX = 1280
Property(C): ScreenY = 768
Property(C): CaptionHeight = 22
Property(C): BorderTop = 1
Property(C): BorderSide = 1
Property(C): TextHeight = 16
Property(C): TextInternalLeading = 3
Property(C): ColorBits = 32
Property(C): TTCSupport = 1
Property(C): Time = 16:53:17
Property(C): Date = 15.07.2014
Property(C): MsiNetAssemblySupport = 4.0.30319.18408
Property(C): MsiWin32AssemblySupport = 6.1.7601.17514
Property(C): RedirectedDllSupport = 2
Property(C): AdminUser = 1
Property(C): Privileged = 1
Property(C): USERNAME = SERGEY
Property(C): DATABASE = d:ProgrammingSetupProject1SetupProject1binReleaseSetupProject1.msi
Property(C): OriginalDatabase = d:ProgrammingSetupProject1SetupProject1binReleaseSetupProject1.msi
Property(C): SOURCEDIR = d:ProgrammingSetupProject1SetupProject1binRelease
Property(C): VersionHandler = 5.00
Property(C): UILevel = 5
Property(C): ACTION = INSTALL
Property(C): EXECUTEACTION = INSTALL
Property(C): ROOTDRIVE = d:
Property(C): CostingComplete = 1
Property(C): OutOfDiskSpace = 0
Property(C): OutOfNoRbDiskSpace = 0
Property(C): PrimaryVolumeSpaceAvailable = 0
Property(C): PrimaryVolumeSpaceRequired = 0
Property(C): PrimaryVolumeSpaceRemaining = 0
Property(C): INSTALLLEVEL = 1
=== Logging stopped: 15.07.2014 16:53:17 ===
MSI (c) (14:F0) [16:53:17:628]: Product: My Setup Project -- Installation failed.
MSI (c) (14:F0) [16:53:17:628]: Windows Installer installed the product. Product Name: My Setup Project. Product Version: 1.0.0.0. Product Language: 1033. Manufacturer: MyCompany. Installation success or error status: 1603.
Can anyone advise something ?
I use the Visual Studio 2013
-
Summary
-
Files
-
Reviews
-
Support
-
Tickets ▾
- Bugs
- Feature Requests
- Examples
-
Mailing Lists
-
News
-
CVS
Menu
▾
▴
From: Thomas Kehl — PP Software AG <t….@pp…> — 2010-03-29 14:11:56 |
Hi. I am trying to show the InstallDirDlg with the fallowing sequence. But i get always the Error 2343: Specified path is empty. I have also tested with <Property Id="WIXUI_INSTALLDIR" Value="c:temp" /> where c:temp exists. But it does not working. Thanks for your help! LOG: MSI (c) (84:60) [16:01:32:260]: PROPERTY CHANGE: Adding LicenseAccepted property. Its value is '1'. MSI (c) (84:60) [16:01:32:874]: Note: 1: 2343 DEBUG: Error 2343: Specified path is empty. Bei der Installation dieses Pakets ist ein unerwarteter Fehler aufgetreten. Es liegt eventuell ein das Paket betreffendes Problem vor. Der Fehlercode ist 2343. Argumente: , , MSI (c) (84:60) [16:01:34:961]: Produkt: CDS Output Management - Output Reports -- Bei der Installation dieses Pakets ist ein unerwarteter Fehler aufgetreten. Es liegt eventuell ein das Paket betreffendes Problem vor. Der Fehlercode ist 2343. Argumente: , , Aktion beendet um 16:01:34: WelcomeDlg. Rückgabewert 3. MSI (c) (84:60) [16:01:34:964]: Doing action: FatalError Aktion 16:01:34: FatalError. Aktion gestartet um 16:01:34: FatalError. Aktion 16:01:34: FatalError. Dialog created Aktion beendet um 16:01:38: FatalError. Rückgabewert 2. Aktion beendet um 16:01:38: INSTALL. Rückgabewert 3. MSI (c) (84:60) [16:01:38:651]: Destroying RemoteAPI object. MSI (c) (84:B8) [16:01:38:652]: Custom Action Manager thread ending. WIX: <Include> <Fragment> <UI Id="MyWixUI"> <TextStyle Id="WixUI_Font_Normal" FaceName="Tahoma" Size="8" /> <TextStyle Id="WixUI_Font_Bigger" FaceName="Tahoma" Size="12" /> <TextStyle Id="WixUI_Font_Title" FaceName="Tahoma" Size="9" Bold="yes" /> <Property Id="DefaultUIFont" Value="WixUI_Font_Normal" /> <Property Id="WixUI_Mode" Value="FeatureTree" /> <Property Id="WIXUI_INSTALLDIR" Value="INSTALLDIR" /> <DialogRef Id="BrowseDlg" /> <DialogRef Id="DiskCostDlg" /> <DialogRef Id="ErrorDlg" /> <DialogRef Id="FatalError" /> <DialogRef Id="FilesInUse" /> <DialogRef Id="MsiRMFilesInUse" /> <DialogRef Id="PrepareDlg" /> <DialogRef Id="ProgressDlg" /> <DialogRef Id="ResumeDlg" /> <DialogRef Id="UserExit" /> <Publish Dialog="ExitDialog" Control="Finish" Event="EndDialog" Value="Return" Order="999">1</Publish> <Publish Dialog="WelcomeDlg" Control="Next" Event="NewDialog" Value="LicenseAgreementDlg">1</Publish> <Publish Dialog="LicenseAgreementDlg" Control="Back" Event="NewDialog" Value="WelcomeDlg">1</Publish> <Publish Dialog="LicenseAgreementDlg" Control="Next" Event="NewDialog" Value="InstallDirDlg">LicenseAccepted = "1"</Publish> <Publish Dialog="InstallDirDlg" Control="Back" Event="NewDialog" Value="LicenseAgreementDlg">1</Publish> <Publish Dialog="InstallDirDlg" Control="Next" Event="SetTargetPath" Value="[WIXUI_INSTALLDIR]" Order="1">1</Publish> <Publish Dialog="InstallDirDlg" Control="Next" Event="NewDialog" Value="CustomizeDlg" Order="2">1</Publish> <Publish Dialog="InstallDirDlg" Control="ChangeFolder" Property="_BrowseProperty" Value="[WIXUI_INSTALLDIR]" Order="1">1</Publish> <Publish Dialog="InstallDirDlg" Control="ChangeFolder" Event="SpawnDialog" Value="BrowseDlg" Order="2">1</Publish> <Publish Dialog="CustomizeDlg" Control="Back" Event="NewDialog" Value="MaintenanceTypeDlg" Order="1">Installed</Publish> <Publish Dialog="CustomizeDlg" Control="Back" Event="NewDialog" Value="InstallDirDlg" Order="2">NOT Installed</Publish> <Publish Dialog="CustomizeDlg" Control="Next" Event="NewDialog" Value="SqlSelectDlg">1</Publish> <Publish Dialog="SqlSelectDlg" Control="Next" Event="NewDialog" Value="VerifyReadyDlg" Order="1">1</Publish>--> <Publish Dialog="SqlSelectDlg" Control="Back" Event="NewDialog" Value="CustomizeDlg">1</Publish> <Publish Dialog="SqlSelectDlg" Control="Next" Event="NewDialog" Value="CoordinatorHostDlg" Order="1">1</Publish> <Publish Dialog="SqlSelectDlg" Control="Next" Event="NewDialog" Value="SqlSelectDlg2" Order="2"><![CDATA[COMPATIBILITYMODE = 1]]></Publish> <Publish Dialog="SqlSelectDlg2" Control="Back" Event="NewDialog" Value="SqlSelectDlg" Order="1">1</Publish> <Publish Dialog="SqlSelectDlg2" Control="Next" Event="NewDialog" Value="CoordinatorHostDlg">1</Publish> <Publish Dialog="CoordinatorHostDlg" Control="Back" Event="NewDialog" Value="CustomizeDlg" Order="1"></Publish> <Publish Dialog="CoordinatorHostDlg" Control="Next" Event="NewDialog" Value="VerifyReadyDlg">1</Publish> <Publish Dialog="VerifyReadyDlg" Control="Back" Event="NewDialog" Value="CoordinatorHostDlg" Order="1">NOT Installed OR WixUI_InstallMode = "Change"</Publish> <Publish Dialog="VerifyReadyDlg" Control="Back" Event="NewDialog" Value="MaintenanceTypeDlg" Order="2">Installed</Publish> <Publish Dialog="MaintenanceWelcomeDlg" Control="Next" Event="NewDialog" Value="MaintenanceTypeDlg">1</Publish> <Publish Dialog="MaintenanceTypeDlg" Control="ChangeButton" Event="NewDialog" Value="CustomizeDlg">1</Publish> <Publish Dialog="MaintenanceTypeDlg" Control="RepairButton" Event="NewDialog" Value="VerifyReadyDlg">1</Publish> <Publish Dialog="MaintenanceTypeDlg" Control="RemoveButton" Event="NewDialog" Value="VerifyReadyDlg">1</Publish> <Publish Dialog="MaintenanceTypeDlg" Control="Back" Event="NewDialog" Value="MaintenanceWelcomeDlg">1</Publish> <Publish Dialog="ExitDialog" Control="Finish" Event="DoAction" Value="LaunchApplication">WIXUI_EXITDIALOGOPTIONALCHECKBOX = 1 and NOT Installed</Publish> </UI> <UIRef Id="WixUI_Common" /> </Fragment> </Include> Best Regards, Thomas |
View entire thread
I am trying to create a wix installer for window service. But getting the following error.
The installer has encountered an unexpected error installing the package. This may indicate a problem with this package. The error code is 2343.
What i am doing wrong. Please some one correct me where i had went wrong.
Thanks in Advance.
What I have tried:
product.wxs:
="1.0"="UTF-8" = "ESS_VillageMateIntegrtion" = "IRIZ ID TECH" = "1.0.0.0" = "{FF9D7B21-A4FE-4DEB-A2FE-E77228F95831}" <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"> <Product Id="*" UpgradeCode="$(var.UpgradeCode)" Version="$(var.VersionNumber)" Language="1033" Name="$(var.Name)" Manufacturer="$(var.Manufacturer)"> <Package InstallerVersion="300" Compressed="yes" InstallScope="perMachine" /> <MajorUpgrade DowngradeErrorMessage="A newer version of [ProductName] is already installed." /> <WixVariable Id="WixUILicenseRtf" Value="$(var.SolutionDir)LicenceAgreement.rtf"/> <WixVariable Id="WixUIDialogBmp" Value="$(var.SolutionDir)Dialog.bmp"/> <WixVariable Id="WixUIBannerBmp" Value="$(var.SolutionDir)BannerBitMap.bmp"/> <UIRef Id="WixUI_InstallDir"/> <Icon Id="ESS.ico" SourceFile="$(var.SolutionDir)ESS.ico" /> <Property Id="ApplicationFolderName" Value="My Application Folder"/> <Property Id="WixAppFolder" Value="WixPerMachineFolder"/> <Property Id="WIXUI_INSTALLDIR" Value="TESTFILEPRODUCTDIR"/> </Product> <Fragment> <Directory Id="TARGETDIR" Name="SourceDir"> <Directory Id="ProgramFilesFolder"> <Directory Id="ROOTDIRECTORY" Name="$(var.Manufacturer)"> <Directory Id="INSTALLFOLDER" Name="$(var.Name)" /> <Directory Id="APPLICATIONFOLDER" Name="My Application Folder"/> <Directory Id="TESTFILEPRODUCTDIR" Name="My Program"/> </Directory> </Directory> </Directory> </Fragment> <Fragment> <ComponentGroup Id="DllsComponent" Directory="INSTALLFOLDER"> <Component Id="IRIZID.CryptoAPI.dll" Guid="{471726D2-42C5-4A1A-9425-337ABC39FD02}"> <File Id="IRIZID.CryptoAPI.dll" Source="$(var.ESS_VillageMateService.TargetDir)IRIZID.CryptoAPI.dll" KeyPath="yes"></File> </Component> <Component Id="IRIZID.DataLib.dll" Guid="{E6022A29-75FA-4928-8CCA-C693CED4376B}"> <File Id="IRIZID.DataLib.dll" Source="$(var.ESS_VillageMateService.TargetDir)IRIZID.DataLib.dll" KeyPath="yes"></File> </Component> <Component Id="IRIZID.Utility.dll" Guid="{5D5EC99B-A274-4C8B-B63C-A2B511DA2BB1}"> <File Id="IRIZID.Utility.dll" Source="$(var.ESS_VillageMateService.TargetDir)IRIZID.Utility.dll" KeyPath="yes"></File> </Component> <Component Id="Microsoft.Practices.EnterpriseLibrary.Common.dll" Guid="{7931ADE8-0517-4C4C-95FA-BF0E7871C979}"> <File Id="Microsoft.Practices.EnterpriseLibrary.Common.dll" Source="$(var.ESS_VillageMateService.TargetDir)Microsoft.Practices.EnterpriseLibrary.Common.dll" KeyPath="yes"></File> </Component> <Component Id="Microsoft.Practices.EnterpriseLibrary.Data.dll" Guid="{8DDAE310-23E6-4274-B400-7714A2805FD3}"> <File Id="Microsoft.Practices.EnterpriseLibrary.Data.dll" Source="$(var.ESS_VillageMateService.TargetDir)Microsoft.Practices.EnterpriseLibrary.Data.dll" KeyPath="yes"></File> </Component> <Component Id="Microsoft.Practices.ObjectBuilder.dll" Guid="{597A8921-39E3-4341-A554-E7F9A4EAFF06}"> <File Id="Microsoft.Practices.ObjectBuilder.dll" Source="$(var.ESS_VillageMateService.TargetDir)Microsoft.Practices.ObjectBuilder.dll" KeyPath="yes"></File> </Component> <Component Id="Newtonsoft.Json.dll" Guid="{E67D3722-A61F-42E2-BD66-2AD4C95636D1}"> <File Id="Newtonsoft.Json.dll" Source="$(var.ESS_VillageMateService.TargetDir)Newtonsoft.Json.dll" KeyPath="yes"></File> </Component> <Component Id="ESS_VillageMateIntegrtionServiceConfig.exe" Guid="{D13FEF04-091E-4BD0-B5C9-0C158A39D3DE}"> <File Id="ESS_VillageMateIntegrtionServiceConfig.exe" Source="$(var.ESS_VillageMateIntegrationTray.TargetDir)ESS_VillageMateIntegrtionServiceConfig.exe" DiskId="1" KeyPath="yes"/> </Component> <Component Id="ESS_VillageMateIntegrationTray.exe" Guid="{A9CAABD5-76E8-4AA4-B410-7FB7675BC9E0}"> <File Id="ESS_VillageMateIntegrationTray.exe" Source="$(var.ESS_VillageMateIntegrationTray.TargetDir)ESS_VillageMateIntegrationTray.exe" DiskId="1" KeyPath="yes" /> </Component> </ComponentGroup> <DirectoryRef Id="INSTALLFOLDER"> <Component Id="ESS_VillageMateIntegrtion.exe" Guid="{74F81CB9-8DD5-4604-87CA-47D205CE2537}"> <File Id="ESS_VillageMateIntegrtion.exe" Source="$(var.ESS_VillageMateIntegrtion.TargetDir)ESS_VillageMateIntegrtion.exe" DiskId="1" KeyPath="yes" /> <RemoveFile Id="log" Name="*.txt" On="both" /> <ServiceInstall Id="ServiceInstaller" Type="ownProcess" Vital="yes" Name="ESS_VillageMateIntegrtion" DisplayName="ESS_VillageMateIntegrtion Service" Description="Write Data one DB to another DB" Start="auto" Account="LocalSystem" ErrorControl="normal" /> <ServiceControl Id="StartService" Start="install" Stop="both" Remove="uninstall" Name="ESS_VillageMateIntegrtion" Wait="yes" /> </Component> </DirectoryRef> <Feature Id="MainApplication" Title="Main Application" Level="1"> <ComponentRef Id="ESS_VillageMateIntegrtion.exe"/> <ComponentRef Id="DllsComponent"/> </Feature> </Fragment> </Wix>
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)
CodeProject,
20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8
+1 (416) 849-8900
Вопрос:
поэтому я пытался разработать этот установщик для своего приложения. Я решил изменить свой графический интерфейс на <UIRef Id="WixUI_InstallDir" />
. Согласно учебнику, который я читал, мне также нужно включить <Property Id="WIXUI_INSTALLDIR" Value="TOP_LEVEL_DIR" />
, если я использую этот графический интерфейс. Но, поскольку я изменил GUI и добавил эту строку, я получаю сообщение об ошибке (2343). Я также разместил журнал MSI ниже, и он жалуется на местоположение?
Ошибка: MSI (c) (CC: 84) [13: 27: 33: 140]: Примечание: 1: 2343 DEBUG: Ошибка 2343: Указанный путь пуст. Установщик столкнулся с непредвиденной ошибкой при установке этого пакета. Это может указывать на проблему с этим пакетом. Код ошибки 2343. Аргументы:, MSI (c) (CC: 84) [13: 27: 34: 663]: Продукт: Viewer 1.0 – Установщик столкнулся с непредвиденной ошибкой при установке этого пакета. Это может указывать на проблему с этим пакетом. Код ошибки 2343. Аргументы:,
Action ended 13:27:34: WelcomeDlg. Return value 3.
MSI (c) (CC:DC) [13:27:34:672]: Doing action: FatalError
Action 13:27:34: FatalError.
Action start 13:27:34: FatalError.
Action 13:27:34: FatalError. Dialog created
Action ended 13:27:36: FatalError. Return value 2.
Action ended 13:27:36: INSTALL. Return value 3.
Код:
<?xml version='1.0' encoding='windows-1252'?>
<Wix xmlns='http://schemas.microsoft.com/wix/2006/wi'>
<Product Name='Viewer 1.0' Id='*' UpgradeCode='PUT-GUID-HERE'
Language='1033' Codepage='1252' Version='1.0.0' Manufacturer='Direct'>
<Package Id='*' Keywords='Installer' Description="Viewer Installer"
Comments='Installer is a registered trademark.' Manufacturer='Direct'
InstallerVersion='100' Languages='1033' Compressed='yes'
SummaryCodepage='1252' />
<Media Id='1' Cabinet='Sample.cab' EmbedCab='yes' DiskPrompt="CD-ROM #1" />
<Property Id='DiskPrompt' Value="1.0 Installation [1]" />
<Property Id="WIXUI_INSTALLDIR" Value="TOP_LEVEL_DIR" />
<Directory Id='TARGETDIR' Name='SourceDir'>
<Directory Id='ProgramFilesFolder' Name='PFiles'>
<Directory Id='Direct' Name='DMD'>
<Directory Id='INSTALLDIR' Name='Viewer'>
<Component Id='MainExecutable' Guid='*'>
<Shortcut Id="startmenuViewer" Directory="ProgramMenuDir"
Name="Viewer" WorkingDirectory='INSTALLDIR'
Icon="Viewer.exe" IconIndex="0" Advertise="yes" />
<Shortcut Id="desktopViewer" Directory="DesktopFolder"
Name="Viewer" WorkingDirectory='INSTALLDIR'
Icon="Viewer.exe" IconIndex="0" Advertise="yes" />
<File Id='EXE' Name='Viewer.exe' DiskId='1'
Source='Viewer.exe' KeyPath='yes'>
</File>
<ProgId Id="DMDCCDAV" Description="Viewer">
<Extension Id="xml" >
<Verb Id="open" Argument=""%1""
TargetFile="EXE" />
</Extension>
</ProgId>
</Component>
</Directory>
</Directory>
</Directory>
<Directory Id="ProgramMenuFolder" Name="Programs">
<Directory Id="ProgramMenuDir" Name="Viewer">
<Component Id="ProgramMenuDir" Guid="*">
<RemoveFolder Id='ProgramMenuDir' On='uninstall' />
<RegistryValue Root='HKCU'
Key='Software[Manufacturer][ProductName]'
Type='string' Value='' KeyPath='yes' />
</Component>
</Directory>
</Directory>
<Directory Id="DesktopFolder" Name="Desktop" />
</Directory>
<Feature Id='Complete' Title='Viewer Installation'
Display='expand' Level='1' ConfigurableDirectory='INSTALLDIR'>
<Feature Id='MainProgram' Title='Viewer Program'
Description='The main executable.' Level='1'>
<ComponentRef Id='MainExecutable' />
<ComponentRef Id='ProgramMenuDir' />
</Feature>
</Feature>
<UIRef Id="WixUI_InstallDir" />
<UIRef Id="WixUI_ErrorProgressText" />
<Icon Id="Viewer.exe" SourceFile="Viewer.exe" />
</Product>
</Wix>
Лучший ответ:
Значение <Property Id="WIXUI_INSTALLDIR" Value="TOP_LEVEL_DIR" />
– это то, что вы указываете как позволяющее пользователю установить с диалоговым окном пользовательского интерфейса. В этом случае вы идентифицируете TOP_LEVEL_DIR
как идентификатор каталога, который вы хотите установить пользователем, но у вас нет его сопоставления с любым соответствующим тегом Directory
.
Предполагая, что вы пытаетесь разрешить им изменять корневой каталог установки, попробуйте вместо этого установить значение WIXUI_INSTALLDIR
с TOP_LEVEL_DIR
на INSTALLDIR
.
Подробнее см. эту ссылку.
I am packaging a MSI using WIX. The binaries need to be installed on a UNC drive (sharexxxzeast). The installation works fine, the binaries are installed on the UNC, but I get the following error during uninstallation.
«The installer has encountered an unexpected error installing the package. This may indicate a problem with this package. The error code is 2343.»
What’s driving me crazy is why the installation works and the uninstall fails!
Below is what my wix script looks like…
<?xml version="1.0" encoding="UTF-8"?>
<!-- Create the package per machine and not per user -->
<Package InstallerVersion="200" Compressed="yes" InstallScope="perMachine" />
<!-- Package the binaries in the msi -->
<Media Id="1" Cabinet="CABIIS.cab" EmbedCab="yes" />
<!-- Default the asp.net framework to 4.0 -->
<Property Id="FRAMEWORKBASEPATH">
<RegistrySearch Id="FindFrameworkDir" Root="HKLM" Key="SOFTWAREMicrosoft.NETFramework" Name="InstallRoot" Type="raw"/>
</Property>
<Property Id="ASPNETREGIIS" >
<DirectorySearch Path="[FRAMEWORKBASEPATH]" Depth="4" Id="FindAspNetRegIis">
<FileSearch Name="aspnet_regiis.exe" MinVersion="4.0.3"/>
</DirectorySearch>
</Property>
<CustomAction Id="WebAppIISVersionSetup" Directory="TARGETDIR" ExeCommand="[ASPNETREGIIS] -norestart -ir" Return="check"/>
<InstallExecuteSequence>
<Custom Action="WebAppIISVersionSetup" After="InstallFinalize">ASPNETREGIIS AND NOT Installed</Custom>
<Custom Action="**SetInstallLocationRootDirectory**" After="CostFinalize" />
</InstallExecuteSequence>
<!-- Set the install location from the trigger file -->
<CustomAction
Id="SetInstallLocationRootDirectory"
Directory="INSTALLLOCATION"
Value="[TARGET.INSTALLLOCATION]" />
<!-- Properties & Variables -->
<WixVariable Id="WixUIBannerBmp" Value="Resources/CeLogo.bmp" />
<WixVariable Id="WixUIDialogBmp" Value="Resources/MidstreamChangeTeam.bmp" />
<Property Id="WIXUI_INSTALLDIR" Value="INSTALLLOCATION" />
<Property Id="CALCULATION.SERVICE.USERNAME" Value="xx"/>
<Property Id="CALCULATION.SERVICE.PASSWORD" Hidden="yes" />
<!-- The directory structure for installation -->
<Directory Id="TARGETDIR" Name="SourceDir">
<Directory Id="INSTALLLOCATION" Name="East">
<Directory Id="WEBSITESFOLDER" Name="Website" >
<Directory Id="EASTROOTFOLDER" Name="EastRoot" />
<Directory Id="WCFCALCULATIONFOLDER" Name="CalculationService" />
</Directory>
<Directory Id="LOGFOLDER" Name="Log"/>
</Directory>
</Directory>
<!-- The features in the product -->
<Feature Id="ProductFeature" Title="East Components" Level="1">
<ComponentGroupRef Id="CalculationServiceComponents" />
</Feature>
<!-- Create a UI for the installer -->
<UI Id="EAST_InstallUI">
<TextStyle Id="WixUI_Font_Normal" FaceName="Tahoma" Size="8" />
<TextStyle Id="WixUI_Font_Bigger" FaceName="Tahoma" Size="12" />
<TextStyle Id="WixUI_Font_Title" FaceName="Tahoma" Size="9" Bold="yes" />
<Property Id="DefaultUIFont" Value="WixUI_Font_Normal" />
<Property Id="WixUI_Mode" Value="InstallDir" />
<DialogRef Id="BrowseDlg" />
<DialogRef Id="DiskCostDlg" />
<DialogRef Id="ErrorDlg" />
<DialogRef Id="FatalError" />
<DialogRef Id="FilesInUse" />
<DialogRef Id="MsiRMFilesInUse" />
<DialogRef Id="PrepareDlg" />
<DialogRef Id="ProgressDlg" />
<DialogRef Id="ResumeDlg" />
<DialogRef Id="UserExit" />
<Publish Dialog="BrowseDlg" Control="OK" Event="DoAction" Value="WixUIValidatePath" Order="3">1</Publish>
<Publish Dialog="BrowseDlg" Control="OK" Event="SpawnDialog" Value="InvalidDirDlg" Order="4"><![CDATA[WIXUI_INSTALLDIR_VALID<>"1"]]></Publish>
<Publish Dialog="ExitDialog" Control="Finish" Event="EndDialog" Value="Return" Order="999">1</Publish>
<Publish Dialog="WelcomeDlg" Control="Next" Event="NewDialog" Value="InstallDirDlg">1</Publish>
<Publish Dialog="InstallDirDlg" Control="Back" Event="NewDialog" Value="WelcomeDlg">1</Publish>
<Publish Dialog="InstallDirDlg" Control="Next" Event="SetTargetPath" Value="[WIXUI_INSTALLDIR]" Order="1">1</Publish>
<Publish Dialog="InstallDirDlg" Control="Next" Event="DoAction" Value="WixUIValidatePath" Order="2">NOT WIXUI_DONTVALIDATEPATH</Publish>
<Publish Dialog="InstallDirDlg" Control="Next" Event="SpawnDialog" Value="InvalidDirDlg" Order="3"><![CDATA[NOT WIXUI_DONTVALIDATEPATH AND WIXUI_INSTALLDIR_VALID<>"1"]]></Publish>
<Publish Dialog="InstallDirDlg" Control="Next" Event="NewDialog" Value="ServiceIdentityDlg" Order="4">WIXUI_DONTVALIDATEPATH OR WIXUI_INSTALLDIR_VALID="1"</Publish>
<Publish Dialog="InstallDirDlg" Control="ChangeFolder" Property="_BrowseProperty" Value="[WIXUI_INSTALLDIR]" Order="1">1</Publish>
<Publish Dialog="InstallDirDlg" Control="ChangeFolder" Event="SpawnDialog" Value="BrowseDlg" Order="2">1</Publish>
<Publish Dialog="ServiceIdentityDlg" Control="Back" Event="NewDialog" Value="InstallDirDlg" >1</Publish>
<Publish Dialog="ServiceIdentityDlg" Control="Next" Event="NewDialog" Value="VerifyReadyDlg">1</Publish>
<Publish Dialog="VerifyReadyDlg" Control="Back" Event="NewDialog" Value="ServiceIdentityDlg" Order="1">NOT Installed</Publish>
<Publish Dialog="VerifyReadyDlg" Control="Back" Event="NewDialog" Value="MaintenanceTypeDlg" Order="2">Installed</Publish>
<Publish Dialog="MaintenanceWelcomeDlg" Control="Next" Event="NewDialog" Value="MaintenanceTypeDlg">1</Publish>
<Publish Dialog="MaintenanceTypeDlg" Control="RepairButton" Event="NewDialog" Value="VerifyReadyDlg">1</Publish>
<Publish Dialog="MaintenanceTypeDlg" Control="RemoveButton" Event="NewDialog" Value="VerifyReadyDlg">1</Publish>
<Publish Dialog="MaintenanceTypeDlg" Control="Back" Event="NewDialog" Value="MaintenanceWelcomeDlg">1</Publish>
<!--<Dialog Id="DatabaseDlg" Title="!(loc.DatabaseDlg_Title)" X="50" Y="50" Width="370" Height="270">
<Control Id="BannerBitmap" Type="Bitmap" X="0" Y="0" Width="369" Height="44" Text="WixUI_Bmp_Banner" Disabled="yes" />
<Control Id="Title" Type="Text" X="15" Y="6" Width="200" Height="15" Transparent="yes" NoPrefix="yes" Text="!(loc.DatabaseDlgTitle)" />
<Control Id="Description" Type="Text" X="25" Y="23" Width="280" Height="15" Transparent="yes" NoPrefix="yes" Text="!(loc.DatabaseDlgDescription)" />
<Control Id="BannerLine" Type="Line" X="0" Y="44" Width="373" Height="0" Disabled="yes" />
<Control Id="BottomLine" Disabled="yes" Height="1" Type="Line" Width="370" X="0" Y="234" />
-->
<!--<Control Id="DatabaseServerLabel" Text="!(loc.DatabaseServerLabel)" Type="Text" Width="100" Height="18" X="20" Y="102" />
<Control Id="DatabaseServer" Type="Edit" X="130" Y="100" Width="120" Height="18" Property="DB.SERVER" />
<Control Id="DatabaseDlgText" Text="!(loc.DatabaseDlgText)" Type="Text" Width="330" Height="30" X="20" Y="60" />-->
<!--
<Control Id="LogFileLabel" Text="!(loc.LogFileNameLabel)" Type="Text" Width="100" Height="18" X="20" Y="137" />
<Control Id="LogFileName" Type="Edit" X="130" Y="135" Width="120" Height="18" Property="LOGFOLDER" />
-->
<!--<Control Id="UnprocessedFileLocationLabel" Text="!(loc.UnprocessedFileLocationNameLabel)" Type="Text" Width="100" Height="18" X="20" Y="172" />
<Control Id="UnprocessedFileLocationName" Type="Edit" X="130" Y="170" Width="120" Height="18" Property="UNPROCESSEDFILELOCATION" />-->
<!--
<Control Id="Back" Type="PushButton" X="180" Y="243" Width="56" Height="17" Text="!(loc.WixUIBack)" />
<Control Id="Next" Type="PushButton" X="236" Y="243" Width="56" Height="17" Text="!(loc.WixUINext)" Disabled="no" Default="yes" >
</Control>
<Control Id="Cancel" Type="PushButton" X="304" Y="243" Width="56" Height="17" Text="!(loc.WixUICancel)" Cancel="yes">
<Publish Event="SpawnDialog" Value="CancelDlg">1</Publish>
</Control>
</Dialog>-->
<Dialog Id="InvalidUsernamePasswordDlg" Y="10" Width="260" Height="85" Title="!(loc.InvalidUsernamePasswordDlg_Title)">
<Control Id="Text" Type="Text" X="48" Y="15" Width="194" Height="30" Text="!(loc.InvalidUsernamePasswordDlgText)" />
<Control Id="Icon" Type="Icon" X="15" Y="15" Width="24" Height="24" ToolTip="!(loc.ErrorDlgErrorIconTooltip)" FixedSize="yes" IconSize="32" Text="!(loc.CancelDlgIcon)" />
<Control Id="Ok" Type="PushButton" X="105" Y="57" Width="50" Height="17" Default="yes" Cancel="yes" Text="!(loc.WixUIOK)">
<Publish Event="EndDialog" Value="Return">1</Publish>
</Control>
</Dialog>
<Dialog Id="ServiceIdentityDlg" Title="!(loc.ServiceIdentityDlg_Title)" X="50" Y="50" Width="370" Height="270">
<Control Id="BannerBitmap" Type="Bitmap" X="0" Y="0" Width="369" Height="44" Text="!(loc.SetupTypeDlgBannerBitmap)" Disabled="yes" />
<Control Id="Title" Type="Text" X="15" Y="6" Width="200" Height="15" Transparent="yes" NoPrefix="yes" Text="!(loc.ServiceIdentityDlgTitle)" />
<Control Id="Description" Type="Text" X="25" Y="23" Width="280" Height="15" Transparent="yes" NoPrefix="yes" Text="!(loc.ServiceIdentityDlgDescription)" />
<Control Id="BannerLine" Type="Line" X="0" Y="44" Width="373" Height="0" Disabled="yes" />
<Control Id="BottomLine" Disabled="yes" Height="1" Type="Line" Width="370" X="0" Y="234" />
<Control Id="UsernamePasswordText" Text="!(loc.UsernamePasswordText)" Type="Text" Width="330" Height="60" X="20" Y="60" />
<Control Id="UsernameLabel" Text="!(loc.UsernameLabel)" Type="Text" Width="100" Height="18" X="20" Y="127" />
<Control Id="ServiceIdentity" Type="Edit" X="130" Y="125" Width="120" Height="18" Property="CALCULATION.SERVICE.USERNAME" />
<Control Id="PasswordLabel" Text="!(loc.PasswordLabel)" Type="Text" Width="100" Height="18" X="20" Y="162" />
<Control Id="Password" Type="Edit" X="130" Y="160" Width="120" Height="18" Property="CALCULATION.SERVICE.PASSWORD" Password="yes" />
<Control Id="PasswordCheckLabel" Text="!(loc.ConfirmPasswordLabel)" Type="Text" Width="100" Height="18" X="20" Y="192" />
<Control Id="ConfirmPassword" Type="Edit" X="130" Y="190" Width="120" Height="18" Property="ConfirmPassword" Password="yes" />
<Control Id="Back" Type="PushButton" X="180" Y="243" Width="56" Height="17" Text="!(loc.WixUIBack)" />
<Control Id="Next" Type="PushButton" X="236" Y="243" Width="56" Height="17" Text="!(loc.WixUINext)" Disabled="no" Default="yes" >
<Publish Property="IsValidUser" Value="1">CALCULATION.SERVICE.USERNAME AND CALCULATION.SERVICE.PASSWORD AND CALCULATION.SERVICE.PASSWORD = ConfirmPassword</Publish>
<Publish Property="IsValidUser">NOT CALCULATION.SERVICE.USERNAME OR NOT CALCULATION.SERVICE.PASSWORD OR CALCULATION.SERVICE.PASSWORD <> ConfirmPassword</Publish>
<Publish Event="SpawnDialog" Value="InvalidUsernamePasswordDlg">NOT IsValidUser</Publish>
</Control>
<Control Id="Cancel" Type="PushButton" X="304" Y="243" Width="56" Height="17" Text="!(loc.WixUICancel)" Cancel="yes">
<Publish Event="SpawnDialog" Value="CancelDlg">1</Publish>
</Control>
</Dialog>
<Property Id="ARPNOMODIFY" Value="1" />
</UI>
<UIRef Id="WixUI_Common" />
I trigger the install via a cmd file, which looks like…
msiexec.exe /i Ct.IIS.msi ^
TARGET.INSTALLLOCATION="sharexxxzeast" ^
CALCULATION.SERVICE.USERNAME=".xxx" ^
CALCULATION.SERVICE.PASSWORD="xxx" ^
/l* Ct.IIS.Install.log /q
Any ideas?