[wix-users] Already Installed Error not showing

duggal_sunny at yahoo.com duggal_sunny at yahoo.com
Tue Jan 30 21:30:44 PST 2018


And what about UpgradeCode? 

Sent from my iPhone

> On Jan 30, 2018, at 7:09 PM, Ven H via wix-users <wix-users at lists.wixtoolset.org> wrote:
> 
> Thanks for your response Habib. But as of now, I am using a fixed Product
> ID and Version, since I am not trying upgrade yet. When I re-run the
> installer, I am looking for an error message (another version is already
> installed or something) which normally shows up when the dialogs are not
> customized.
> 
> Regards,
> Venkatesh
> 
> On Wed, Jan 31, 2018 at 1:25 AM, Habib Salim via wix-users <
> wix-users at lists.wixtoolset.org> wrote:
> 
>> I could be wrong but your installer is jumping to the last screen because
>> there is nothing to do.  the installed version is the same as the
>> installer version.
>> When you recompile, the product id changes or the version changes - (if
>> you are doing that) so it raises the error.
>> 
>> Are you looking for it to reinstall/repair the installation when you
>> re-run it?  or are you just looking for a confirmation/error that this
>> version has been installed previously?
>> 
>> 
>> -----Original Message-----
>> From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf
>> Of Ven H via wix-users
>> Sent: Tuesday, January 30, 2018 12:08 PM
>> To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
>> Cc: Ven H <venh.123 at gmail.com>
>> Subject: [wix-users] Already Installed Error not showing
>> 
>> I am building an MSI with custom dialogs, but I am not customizing the
>> Welcome Dialog. I have a valid Product ID and Upgrade ID and
>> AllowSameVersionUpgrades is also not there. The following is the UI code,
>> which is being referenced in my Product.wxs.
>> 
>> <?xml version="1.0" encoding="UTF-8"?>
>> <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
>> <Fragment>
>>    <WixVariable Id="WixUIBannerBmp" Value="Images\Banner.bmp" />
>>    <WixVariable Id="WixUIDialogBmp" Value="Images\dialog.bmp" />
>> 
>>    <UI Id="CustomUI">
>>      <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" />
>> 
>>      <!--Standard Dialog References needed to compile-Starts-->
>>      <DialogRef Id="WelcomeDlg" />
>>      <DialogRef Id="DiskCostDlg" />
>>      <DialogRef Id="ErrorDlg" />
>>      <DialogRef Id="FatalError" />
>>      <DialogRef Id="FilesInUse" />
>>      <DialogRef Id="UserExit" />
>>      <!--Standard Dialog References needed to compile-Ends-->
>>      <DialogRef Id="CustLicenseAgmtDlg"/>
>>      <DialogRef Id="InstallDlg"/>
>> 
>>      <Publish Dialog="ExitDialog" Control="Finish" Event="EndDialog"
>> Value="Return" Order="999">1</Publish>
>>      <Publish Dialog="WelcomeDlg" Control="Next" Event="NewDialog"
>> Value="CustLicenseAgmtDlg">NOT Installed AND NOT PATCH</Publish>
>>      <Publish Dialog="CustLicenseAgmtDlg" Control="Back"
>> Event="NewDialog"
>> Value="WelcomeDlg">1</Publish>
>>      <Publish Dialog="CustLicenseAgmtDlg" Control="Next"
>> Event="NewDialog"
>> Value="BrowsePathDlg">1</Publish>
>>      <Publish Dialog="BrowsePathDlg" Control="Back" Event="NewDialog"
>> Value="CustLicenseAgmtDlg">1</Publish>
>>      <Publish Dialog="BrowsePathDlg" Control="Next" Event="NewDialog"
>> Value="InstallDlg">1</Publish>
>>      <Publish Dialog="InstallDlg" Control="Back" Event="NewDialog"
>> Value="BrowsePathDlg">1</Publish>
>>    </UI>
>>    <InstallUISequence>
>>      <Show Dialog="WelcomeDlg" Before="ProgressDlg">NOT Installed OR
>> PATCH</Show>
>>    </InstallUISequence>
>>    <UIRef Id="WixUI_Common" />
>>    <UIRef Id="WixUI_ErrorProgressText" /> </Fragment> </Wix>
>> 
>> First time, the installer runs fine and installs the files. But from the
>> next time, it is not showing the error that, it is already installed.
>> Rather it jumps from the first to the last screen in a flash. But if I
>> rebuild this MSI project in VS and run the new installer, it shows the
>> error. I am not sure what am I doing wrong. Can anyone please help?
>> 
>> 
>> Regards,
>> Venkatesh
>> 
>> ____________________________________________________________________
>> WiX Toolset Users Mailing List provided by FireGiant
>> http://www.firegiant.com/
>> 
>> ____________________________________________________________________
>> WiX Toolset Users Mailing List provided by FireGiant
>> http://www.firegiant.com/
>> 
> 
> ____________________________________________________________________
> WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/



More information about the wix-users mailing list