[wix-users] Wix boostrapper not calling msi file during uninstall when DisplayInternalUI is set to yes in bundle.
Sanket Panchamia
psanket at gmail.com
Mon Jul 11 01:50:05 PDT 2016
Hi Vakul,
This is by design. Only the installation will show the msi dialogs but the
uninstall will perform its action without the UI.
Sanket
On Mon, Jul 11, 2016 at 1:50 PM, vakul <vakul.kataria at newgen.co.in> wrote:
> Dear concerned,
>
>
>
> I have an existing wix msi project with full fledged UI. I created a wix
> bundle and referenced the msi project in this bootstrapper project. It
> installs the msi perfectly but during uninstall it only removes the entry
> from the Add or remove Programs, but doesn't call the msi when
> DisplayInternalUI="yes" for the msi package. But when the
> DisplayInternalUI="no" for msi package, then it uninstalls correctly by
> calling the msi package. How to get around this issue. As, I can't set the
> DisplayInternalUI to no, I want msi UI to be displayed during install. Is
> there a way to turn DisplayInternalUI to no during uninstall and to yes
> during install. Here is my bundle code:
>
>
>
> <Bundle Name="$(var.ProductName)" Version="$(var.ProductVersion)"
> Manufacturer="CMiC" UpgradeCode="8ee48a23-b6fc-4594-b3b2-d4c4bebb78d2" >
>
> <BootstrapperApplicationRef
> Id="WixStandardBootstrapperApplication.RtfLicense" >
>
> <bal:WixStandardBootstrapperApplication SuppressOptionsUI="yes"
> LicenseUrl="" />
>
> </BootstrapperApplicationRef>
>
> <Log PathVariable="LOGPATH_PROP" Disable="yes"
> Prefix='[WixBundleOriginalSource]' Extension=".txt" />
>
> <util:RegistrySearch Id="Office2007_Installed" Variable="OFFICE2007"
> Root="HKLM" Key="Software\Microsoft\Office\12.0\Outlook\InstallRoot"
> Result="exists" />
>
> <util:RegistrySearch Id="VSTOR_Installed" Variable="VSTOR40"
> Root="HKLM" Key="SOFTWARE\Microsoft\VSTO Runtime Setup\v4R" Result="exists"
> />
>
> <util:RegistrySearch Id="VSTOR_Installed1" Variable="VSTOR40_1"
> Root="HKLM" Key="SOFTWARE\Microsoft\VSTO Runtime Setup\v4" Result="exists"
> />
>
> <util:RegistrySearch Id="VSTOR_Installed2" Variable="VSTOR40_2"
> Root="HKLM" Key="SOFTWARE\Wow6432Node\Microsoft\VSTO Runtime Setup\v4"
> Result="exists" />
>
> <util:RegistrySearch Id="VSTOR_Installed3" Variable="VSTOR40_3"
> Root="HKLM" Key="SOFTWARE\Wow6432Node\Microsoft\VSTO Runtime Setup\v4R"
> Result="exists" />
>
>
>
> <Chain>
>
> <!-- TODO: Define the list of chained packages. -->
>
> <!-- <MsiPackage SourceFile="path\to\your.msi" /> -->
>
> <ExePackage Id="INSTALLVSTO" SourceFile="vstor_redist.exe"
> Vital="yes" Compressed="no" Permanent="yes"
>
>
> DownloadUrl="http://go.microsoft.com/fwlink/?LinkId=158917"
>
> InstallCommand="/q /norestart"
>
> DetectCondition="VSTOR40 OR VSTOR40_1 OR VSTOR40_2 OR
> VSTOR40_3"
>
> InstallCondition="NOT (VSTOR40 OR VSTOR40_1 OR VSTOR40_2
> OR VSTOR40_3)" />
>
> <RollbackBoundary />
>
>
>
> <!--<ExePackage Compressed="default" SourceFile="$(var.CMiC
> ECM.TargetDir)setup.exe" Vital="yes" >
>
> <Payload SourceFile="$(var.CMiC ECM.TargetPath)"/>
>
> </ExePackage>-->
>
>
>
> <MsiPackage Id="Plugin" Compressed="no" DisplayName="msi name"
> Name="msi name" SourceFile="$(var.CMiC ECM.TargetDir)msi name" Vital="yes"
> DisplayInternalUI="yes" Permanent="no" >
>
>
>
> </MsiPackage>
>
>
>
> </Chain>
>
> </Bundle>
>
>
>
> Also, in logs when the uninstall is successful it shows msi state as
> present, but when it is unsuccessful, it shows the state of msi as absent
> .I am using wix 3.10.3.3007 .
>
>
>
>
>
> Best regards,
>
> Vakul
>
>
>
>
>
>
> Disclaimer :- This e-mail and any attachment may contain confidential,
> proprietary or legally privileged information. If you are not the original
> intended recipient and have erroneously received this message, you are
> prohibited from using, copying, altering or disclosing the content of this
> message. Please delete it immediately and notify the sender. Newgen
> Software Technologies Ltd (NSTL) accepts no responsibilities for loss or
> damage arising from the use of the information transmitted by this email
> including damages from virus and further acknowledges that no binding
> nature of the message shall be implied or assumed unless the sender does so
> expressly with due authority of NSTL.
>
> ____________________________________________________________________
> WiX Toolset Users Mailing List provided by FireGiant
> http://www.firegiant.com/
>
--
Regards
Sanket Panchamia
+91-9742836299
<https://twitter.com/p_sanket> <http://www.facebook.com/spanchamia>
<http://www.linkedin.com/in/psanket>
More information about the wix-users
mailing list