We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

wyzerd
Posts: 75
Joined: Tue Mar 27, 2007 3:54 am
Location: St. Louis, MO
Contact: Website

Windows 7 emptying Installer database.

I am not sure exactly what is happening, but as of late I am finding a large number of client installations unable to patch because it is asking for the [productname].msi. I have my project set to "Do not delete extracted MSI and CAB files", and while that is working just fine, After the install is more than 2 weeks old, some process is wiping it out.

This has forced me to send out an addendum to my clients stating that if they are asked for the original media to cancel the patch, run setup off of the original media and select repair, then run the patch.

Do you know what process/task within Windows 7 I need to assassinate or or how to stop this from happening?

Thanks!!

wyz
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Windows 7 emptying Installer database.

Hello,

Using "Do not delete extracted MSI and CAB files" should prevent this behavior from happening. However, we cannot be certain what else could be removing the .MSI after it was cached.
Can you please send us the project file(.AIP) to support at advancedinstaller dot com so we can investigate?

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
wyzerd
Posts: 75
Joined: Tue Mar 27, 2007 3:54 am
Location: St. Louis, MO
Contact: Website

Re: Windows 7 emptying Installer database.

Here is the installer that has show the problem:


Like I said, I don't think it is the installer itself that is causing it. I MUST be some windows utility that is doing it. It as if they have added ccleaner as part of the OS tasks, but I haven't been able to find out where it is or how to stop it.
Attachments
MonacoSetup.aip
(259.6 KiB) Downloaded 398 times
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Windows 7 emptying Installer database.

Hello,

You can try to:
- open the .PCP file with Orca
- set the SEQUENCE_DATA_GENERATION_DISABLED property to 0 and save the changes
- rebuild the patch using the modified .PCP
This will make the patch automatically generate the patch sequencing information and the original .MSI should no longer be required for the patch installation.

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
wyzerd
Posts: 75
Joined: Tue Mar 27, 2007 3:54 am
Location: St. Louis, MO
Contact: Website

Re: Windows 7 emptying Installer database.

I just had time to test out your solution. Yes, it does fix it for installing the patch. However, this solution is ONLY useful if the patch is NOT uninstallable.

If you uninstall the patch, it will again ask for source directory from main installation. This means the ONLY viable solution is to extract and not delete the original installation from the extracted location.

The default extract location selected by Advanced Installer is User Specific and will again cause problems. The Extract Path should default to a Machine Specific location like [CommonAppDataFolder] instead of [AppDataFolder].
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Windows 7 emptying Installer database.

Hello,

Thank you for your suggestion, I forwarded it to our development team and they'll consider it for a future version.

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”