[wix-users] Wix boostrapper not calling msi file during uninstall when DisplayInternalUI is set to yes in bundle.
Farrukh Waheed
farrukh1 at gmail.com
Mon Jul 11 16:20:37 PDT 2016
When you do such Uninstall, there would be a log file in %temp% folder.
Please post that as well. Thanks
On 11 July 2016 at 09:32, Huy Doan <hdoan at vmware.com> wrote:
> Hi Vakul,
>
> Can you set breakpoints at some of these functions to see what happen?
> DetectPackageComplete
> PlanPackageBegin
> PlanComplete
> ExecutePackageBegin
> ExecutePackageComplete
>
> Also if you can provide the log files, it would be easier for me to see
> what is going on.
>
> -----Original Message-----
> From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf
> Of vakul
> Sent: Monday, July 11, 2016 3:00 AM
> To: 'WiX Toolset Users Mailing List' <wix-users at lists.wixtoolset.org>
> Subject: Re: [wix-users] Wix boostrapper not calling msi file during
> uninstall when DisplayInternalUI is set to yes in bundle.
>
> Hi Sanket,
>
> I know the UI is not shown during uninstall, but problem is when I
> uninstall the boostrapper, it only uninstalls itself and doesn't uninstall
> the msi.
> As, it doesn't call msi during uninstall. But, when I set
> DisplayInternalUI to no, it uninstalls the msi fine.
>
> Best regards,
> Vakul
>
> -----Original Message-----
> From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf
> Of Sanket Panchamia
> Sent: Monday, July 11, 2016 2:20 PM
> To: WiX Toolset Users Mailing List
> Subject: Re: [wix-users] Wix boostrapper not calling msi file during
> uninstall when DisplayInternalUI is set to yes in bundle.
>
> 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="
> https://urldefense.proofpoint.com/v2/url?u=http-3A__go.microsoft.com_fwlink_-3FLinkId-3D158917&d=CwICAg&c=Sqcl0Ez6M0X8aeM67LKIiDJAXVeAw-YihVMNtXt-uEs&r=dIns6fQ--MkFJxuBFYmMeQ&m=qXLmRjOcBDrX9WWN3H2SH8uKGgqnNZ4OYJAbMWI2iYk&s=FlZecfPPY_3PAdaALr5swn7wy9WmiMRHgMQ_yU8KZnk&e=
> "
> >
> > 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
> > https://urldefense.proofpoint.com/v2/url?u=http-3A__www.firegiant.com_
> > &d=CwICAg&c=Sqcl0Ez6M0X8aeM67LKIiDJAXVeAw-YihVMNtXt-uEs&r=dIns6fQ--MkF
> > JxuBFYmMeQ&m=qXLmRjOcBDrX9WWN3H2SH8uKGgqnNZ4OYJAbMWI2iYk&s=UtN2DMgxkaD
> > HpOGZzcFdV6LZgcdkHnoL2SQYUrLmBL0&e=
> >
>
>
>
> --
> Regards
> Sanket Panchamia
> +91-9742836299
>
> <
> https://urldefense.proofpoint.com/v2/url?u=https-3A__twitter.com_p-5Fsanket&d=CwICAg&c=Sqcl0Ez6M0X8aeM67LKIiDJAXVeAw-YihVMNtXt-uEs&r=dIns6fQ--MkFJxuBFYmMeQ&m=qXLmRjOcBDrX9WWN3H2SH8uKGgqnNZ4OYJAbMWI2iYk&s=FL94g10a2739_BtqiABM0qvdlbAe-4cqZO6Q07R3Tbs&e=
> > <
> https://urldefense.proofpoint.com/v2/url?u=http-3A__www.facebook.com_spanchamia&d=CwICAg&c=Sqcl0Ez6M0X8aeM67LKIiDJAXVeAw-YihVMNtXt-uEs&r=dIns6fQ--MkFJxuBFYmMeQ&m=qXLmRjOcBDrX9WWN3H2SH8uKGgqnNZ4OYJAbMWI2iYk&s=fLLz_pCPpzcVgERceL2E1TI_3ZPnQZ-djn6Y-cUhmhI&e=
> > <
> https://urldefense.proofpoint.com/v2/url?u=http-3A__www.linkedin.com_in_psanket&d=CwICAg&c=Sqcl0Ez6M0X8aeM67LKIiDJAXVeAw-YihVMNtXt-uEs&r=dIns6fQ--MkFJxuBFYmMeQ&m=qXLmRjOcBDrX9WWN3H2SH8uKGgqnNZ4OYJAbMWI2iYk&s=mJc4fSParsdhJzlqn98Rp-OA50QiVD58a8MF2cCgypQ&e=
> >
>
> ____________________________________________________________________
> WiX Toolset Users Mailing List provided by FireGiant
> https://urldefense.proofpoint.com/v2/url?u=http-3A__www.firegiant.com_&d=CwICAg&c=Sqcl0Ez6M0X8aeM67LKIiDJAXVeAw-YihVMNtXt-uEs&r=dIns6fQ--MkFJxuBFYmMeQ&m=qXLmRjOcBDrX9WWN3H2SH8uKGgqnNZ4OYJAbMWI2iYk&s=UtN2DMgxkaDHpOGZzcFdV6LZgcdkHnoL2SQYUrLmBL0&e=
>
> 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
> https://urldefense.proofpoint.com/v2/url?u=http-3A__www.firegiant.com_&d=CwICAg&c=Sqcl0Ez6M0X8aeM67LKIiDJAXVeAw-YihVMNtXt-uEs&r=dIns6fQ--MkFJxuBFYmMeQ&m=qXLmRjOcBDrX9WWN3H2SH8uKGgqnNZ4OYJAbMWI2iYk&s=UtN2DMgxkaDHpOGZzcFdV6LZgcdkHnoL2SQYUrLmBL0&e=
>
> ____________________________________________________________________
> WiX Toolset Users Mailing List provided by FireGiant
> http://www.firegiant.com/
>
More information about the wix-users
mailing list