auto-repair does not work - Advanced Installer Community

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!

pachwald
Posts: 11
Joined: Wed Oct 18, 2006 3:01 pm

auto-repair does not work

Hi there!

After installation of my program I tried to test the auto-repair functionality by removing a dll from the application directory. Starting the application does not lead to a auto repair action. Instead the application fails. Do I have to configure the files or components in any special way to enable windows installer auto-repair?

Thanks,
Alex
gigi
Posts: 2103
Joined: Tue Apr 11, 2006 9:55 am
Contact: Website

Hi Alex,

An auto repair starts if a key path for a component is missing. Are you sure that the DLL you have deleted is key path in its component? Can you reproduce this on other computers?

Best Regards,
Gigi
______________
Gheorghe Rada
Advanced Installer Team
http://www.advancedinstaller.com
pachwald
Posts: 11
Joined: Wed Oct 18, 2006 3:01 pm

Hi gigi!

The component for my dll only contains one file and it has the key symbol in front of it's name. Properties are:

GUID: {F59318AD-624D-4DFC-B3DA-4CDE7D6C8686}
Directory: APPDIR
no condition, no attributes, no additional space, no qualified components Groups, no components isolated with this component.

I checked this on several testers' machines and the same happens there.

Any suggestions?

Thanks,
Alex
gigi
Posts: 2103
Joined: Tue Apr 11, 2006 9:55 am
Contact: Website

Hi Alex,

Note that an auto repair it's triggered if a key path for a component is missing. Windows Installer verify this when an advertised shortcuts, file associations, etc is executed. Non-advertised shortcuts don't trigger an auto repair.

For example try to open your application from a file association. You will see that Windows installer triggers the auto repair.

Best Regards,
Gigi
_______________
Gheorghe Rada
Advanced Installer Team
http://www.advancedinstaller.com

Return to “Common Problems”