Possibly the detectcondition is preventing removal. Check the value of KeyA
in the log during a removal.

-----Original Message-----
From: abs [mailto:mail.jie.ji...@gmail.com] 
Sent: 18 January 2013 09:34
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] ExePackage uninstall doesn't work

Hi all:

Would you kindly help me on this issue please?
I am creating a bootstrapper installer supporting remote payload, the way I'm
doing it now is to create a Msi package firstly and then use setupbld.exe to
convert it into an exe file (named InstallerA.exe), and then use the
following wxs file to create a bootstrapper installer (named
InstallerB.exe)

<Chain DisableSystemRestore="yes">
                <PackageGroupRef Id="MyPackage"/>
</Chain>

......

<Fragment>              
        <util:RegistrySearch 
            Root="HKCU" 
            Key="Whatever" 
            Value="Whatever"
            Format="raw"
            Variable="KeyA"/>
        
        <PackageGroup Id="MyPackage">
           <ExePackage DownloadUrl="http://myurl/InstallerA.exe";
                SourceFile="InstallerA.exe" 
                Cache="yes" 
            Compressed="no" 
            PerMachine="yes" 
            Vital="yes"
            DetectCondition="NOT KeyA" />
        </PackageGroup>
  </Fragment>

Note that InstallerA.exe is actually stored remotely. After that, I noticed
that InstallerA.exe works perfectly, but InstallerB.exe only works at
installation stage. When I use InstallerB.exe to uninstall, it never remove
the program from my system.

Do you have any idea why is it please?





--
View this message in context:
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/ExePackage-unin
stall-doesn-t-work-tp7583002.html
Sent from the wix-users mailing list archive at Nabble.com.

-----------------------------------------------------------------------------
-
Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and much more.
Get web development skills now with LearnDevNow -
350+ hours of step-by-step video tutorials by Microsoft MVPs and experts.
SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122812
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users
SDL PLC confidential, all rights reserved.
If you are not the intended recipient of this mail SDL requests and requires 
that you delete it without acting upon or copying any of its contents, and we 
further request that you advise us.
SDL PLC is a public limited company registered in England and Wales.  
Registered number: 02675207.
Registered address: Globe House, Clivemont Road, Maidenhead, Berkshire SL6 7DY, 
UK.


------------------------------------------------------------------------------
Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and
much more. Get web development skills now with LearnDevNow -
350+ hours of step-by-step video tutorials by Microsoft MVPs and experts.
SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122812
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to