Sorry about the wait, this tends to be a rare issue... but I did get a log.
In this case, it isn't the driver package that is causing the error, but it is
an optional software-updater package. This package does not include any driver
code and a pretty typical installer.
This package isn't signed, but the driver package that I see the same issue is.
-----Original Message-----
From: Wilson, Phil [mailto:phil.wil...@invensys.com]
Sent: Thursday, January 13, 2011 12:29 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Uninstall issues
Get a verbose log and see what's going on, if you haven't already. Are you sure
that the cached MSI file is missing? For example, if there is a ResolveSource
action that's not conditioned properly then Windows will want the original
install source.
I have a vague memory of an issue in the \installer directory where the
security settings made it inaccessible, but I can't find any docs on that.
Phil Wilson
-----Original Message-----
From: Jason Jibben [mailto:jason_jib...@starkey.com]
Sent: Thursday, January 13, 2011 8:11 AM
To: General discussion for Windows Installer XML toolset.
Subject: [WiX-users] Uninstall issues
Hello WiX Users!
I've been running into an issue more often that I care to see. When
uninstalling a package via ARP, a dialog pops up stating the installer cannot
be found, and prompts the user to locate the MSI on a network share / CD drive.
This also shows up when running a major upgrade.
What seems to be happening is the stripped MSI is not being stored in the
C:\WINDOWS\Installer directory. This does seem to be a rare issue, but one
that is starting to concern me. I mostly see this on XP systems, I don't
recall any non-XP boxes honestly, but can't be 100% sure on that. Most (99%)
installs/uninstalls work without issue.
Any thoughts what could be causing this issue?
Installer and Merge Module follows (Guids removed):
<?xml version="1.0" encoding="utf-8"?>
<?include ExternalProperties.wxi ?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
<Product UpgradeCode="Upgrade-Guid" Manufacturer="Acme" Id="*"
Name="Nifty Drivers" Version="$(var.BuildVersion)" Language="1033">
<Package Id="*" Keywords="Installer,MSI,Database"
Description="Nifty version $(var.BuildVersion)" Comments="Contact: Your local
administrator" Manufacturer="Acme" InstallerVersion="300" Languages="1033"
SummaryCodepage="1252"/>
<Upgrade Id="Upgrade-Guid">
<UpgradeVersion Minimum="$(var.BuildVersion)"
IncludeMinimum="no" OnlyDetect="yes" Language="1033" Property="NEWPRODUCTFOUND"
/>
<UpgradeVersion Minimum="1.0.0.0" IncludeMinimum="yes"
Maximum="$(var.BuildVersion)" IncludeMaximum="no" Language="1033"
Property="PREVIOUSVERSIONSINSTALLED" />
</Upgrade>
<InstallExecuteSequence>
<Custom Action="PreventDowngrading"
After="FindRelatedProducts">NEWPRODUCTFOUND</Custom>
<RemoveExistingProducts Before="InstallInitialize" />
</InstallExecuteSequence>
<!-- Prevent downgrading -->
<CustomAction Id="PreventDowngrading" Error="Newer version
already installed." />
<Media Id="1" Cabinet="Sample.cab" EmbedCab="yes"/>
<Condition Message="This driver install requires a 32 bit
Operating System.">NOT VersionNT64</Condition>
<Directory Id="TARGETDIR" Name="SourceDir">
<Merge Id="Driver" DiskId="1" Language="1033"
SourceFile="$(var.OutPutRoot)USBDevice.msm" FileCompression="yes"/>
<Component Id="RegisterVersion" Guid="Guid-is-Here">
<RegistryValue Id="Version" Root="HKLM"
Action="write" KeyPath="yes" Type="string" Key="Software\Acme\USBDevice"
Name="Version" Value="$(var.BuildVersion)" />
</Component>
</Directory>
<Feature Id="Base" Level="1" Absent="disallow"
AllowAdvertise="no" Description="Base Files" Display="hidden" Title="Base
Files">
<MergeRef Id="Driver"/>
<ComponentRef Id="RegisterVersion"/>
</Feature>
</Product>
</Wix>
The guts of the USBDevice.msm:
<Directory Id="Drivers" Name="Drivers">
<Directory Id ="Nifty" Name="Nifty">
<Component Id="USBProgrammerDriver" Guid="GUID-is-here" >
<difxapp:Driver AddRemovePrograms="no" DeleteFiles="no"
ForceInstall="yes" Legacy="no" PlugAndPlayPrompt="no"/>
<File Id="Niftyusb.inf" Name="Niftyusb.inf"
KeyPath="yes" Source="$(var.OutPutRoot)BulkUSB\Niftyusb.inf"/>
<File Id="Niftyusb.sys" Name="Niftyusb.sys"
Source="$(var.OutPutRoot)BulkUSB\Niftyusb.sys"/>
<File Id="Niftyusb.cat" Name="Niftyusb.cat"
Source="$(var.OutPutRoot)BulkUSB\Niftyusb.cat"/>
</Component>
</Directory>
<!-- Previous version was set to not-uninstall. Override and remove!-->
<Component Id="RemoveOldDriver" Guid="GUID-is-here">
<RemoveFile Id="rem1" Name="Niftyusb.inf" On ="both"/>
<RemoveFile Id="rem2" Name="Niftyusb.sys" On ="both"/>
<RemoveFile Id="rem3" Name="Niftyusb.cat" On ="both"/>
</Component>
</Directory>
------------------------------------------------------------------------------
Protect Your Site and Customers from Malware Attacks Learn about various
malware tactics and how to avoid them. Understand malware threats, the impact
they can have on your business, and how you can protect your company and
customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users
*** Confidentiality Notice: This e-mail, including any associated or attached
files, is intended solely for the individual or entity to which it is
addressed. This e-mail is confidential and may well also be legally privileged.
If you have received it in error, you are on notice of its status. Please
notify the sender immediately by reply e-mail and then delete this message from
your system. Please do not copy it or use it for any purposes, or disclose its
contents to any other person. This email comes from a division of the Invensys
Group, owned by Invensys plc, which is a company registered in England and
Wales with its registered office at 3rd Floor, 40 Grosvenor Place, London, SW1X
7AW (Registered number 166023). For a list of European legal entities within
the Invensys Group, please go to
http://www.invensys.com/legal/default.asp?top_nav_id=77&nav_id=80&prev_id=77.
You may contact Invensys plc on +44 (0)20 3155 1200 or e-mail
recept...@invensys.com. This e-mail and any attachments thereto may be subject
to the terms of any agreements between Invensys (and/or its subsidiaries and
affiliates) and the recipient (and/or its subsidiaries and affiliates).
------------------------------------------------------------------------------
Protect Your Site and Customers from Malware Attacks Learn about various
malware tactics and how to avoid them. Understand malware threats, the impact
they can have on your business, and how you can protect your company and
customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users
------------------------------------------------------------------------------
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand
malware threats, the impact they can have on your business, and how you
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users