hmxchooch
Posts: 24
Joined: Tue Apr 07, 2009 6:55 pm

Repair Breaks When Cancelling Install

Hi,

I've received a curious bug from my QA dept. Any idea how I could fix this?

1. Run setup.exe
2. Complete a Typical install
3. Run setup.exe > Press Cancel > Finish (I never go past the Welcome screen, so no changes should be made)
4. Start > Control Panel > Programs and Features > [OurProject] -> Repair

Result: I get a "Windows Installer" popup from windows:
"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 containint the installation package 'MagmaSetup.msi' in the box below"


This happens on all OS's we've tested - XP32, XP64, Vista32, Vista64.

If I don't do step #3 (running setup.exe again and cancelling the install) the repair button works fine. Also, if I run setup.exe and actually run repair then the functionality on the programs and features menu works again.

It appears as if it needs to reference the .msi for the repair, but by starting setup.exe the .msi is removed from its usual location? Or repair is now looking elsewhere? If it makes a difference, I have "Do not delete extracted MSI and CAB files." checked so that the .msi is stays on the drive after install.

Thanks for any help you can provide!
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Repair Breaks When Cancelling Install

Hi,

This behavior is caused by a bug in the EXE boostrapper (the extracted installation files are deleted when a maintenance process is canceled). Thank you for bringing this to our attention. A bugfix will be included in a future version of Advanced Installer. I'm afraid there are no current workarounds for this.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
hmxchooch
Posts: 24
Joined: Tue Apr 07, 2009 6:55 pm

Re: Repair Breaks When Cancelling Install

Thanks for the response Cosmin!

Return to “Common Problems”