OK, I think I know the answer to this before I ask, but I'm earnestly hoping
that this is not a dead-end. Here's the situation:
We're moving from InstallAware to WiX. We have an application installed from an
InstallAware-generated EXE and MSI. If you go to Add/Remove Programs and remove
it, it works fine. However, if you try to remove it using the
<RemoveExistingProducts> action in Wix, or directly with msiexec /x, it fails
with:
> The feature you are trying to use is on a network resource that is
> unavailable.
> Click OK to try again, or enter an alternate path to a folder containing the
> installation package 'MyApplicationSetup.msi' in the box below.
> Use source: [C:\Users\Admin\AppData\Local\Temp\mia1] [Browse...]
> [OK] [Cancel]
When you click cancel, it displays:
> An installation package for the product MyApplication cannot be found. Try
> the installation again using a valid copy of the installation package
> 'MyApplicationSetup.msi'.
> [OK]
If I look in
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\MyApplication,
the UninstallString does NOT have the normal MsiExec.exe /X{...}, but rather:
"C:\ProgramData\{SOME-BIG-GUID}\MyApplicationSetup.exe" REMOVE=TRUE
MODIFY=FALSE". {SOME-BIG-GUID} is different on each install.
I'm guessing that this means the EXE is doing some magic before passing control
to the Windows Installer engine.
So, has anyone run across this before? I suppose we could have a custom action
that looks up the registry key and runs the old MyApplicationSetup.exe with the
magic parameters. But I'm wondering: do we then have to support this hack in
every version until there's little chance of anyone having the old
InstallAware-generated application? Ugh.
Is there a WiX way of handling this gracefully?
Thanks,
Dave
------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users