Jump to content


This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Photo

Application auto-repair does not work


5 replies to this topic

arokhin

arokhin
  • Members
  • 6 posts

Posted 25 August 2004 - 12:50

I create Basic MSI project in VS.NET 2003. I added one .NET application into my project. After installation I manually delete exe of my application. Then I click on application's shortcut on desktop and application was repaired. It's fine.
Then I added second .NET application into my project. I placed it in separate component (and fearure). After installation I manually remove exe of second application. Then I click it's shortcut and application was not repaired! Window with "browse" button was dispalyed. Then I delete exe of first application. Then I click on first application shortcut. Both first and second application were repaired.
I need repairing of every my application after I click on it's shortcut.
What's wrong and how I can solve this problem?

P.S.
Sorry for my english.

Glytzhkof

Glytzhkof
  • Moderators
  • 1,447 posts

Posted 25 August 2004 - 12:54

I didn't think VS had support for multiple features. However, in general problems like these can be solved by putting all features under a single, top-level feature.
Regards
-Stein Åsmul

arokhin

arokhin
  • Members
  • 6 posts

Posted 25 August 2004 - 13:27

It's InstallShield X for Visual Studio .NET 2003 which installed with InstallShield X.
And I have the only root feature (without components) and 2 features under this root feature.

Glytzhkof

Glytzhkof
  • Moderators
  • 1,447 posts

Posted 25 August 2004 - 13:47

Make sure all features are below a common top level feature. Then add a component to the top level feature with a keypath somewhere in HKCU, for example HKCU\Software\Company\Product\Version\. Then make sure your shortcuts are advertised.
Regards
-Stein Åsmul

arokhin

arokhin
  • Members
  • 6 posts

Posted 25 August 2004 - 14:16

Thank you very much.
I set "Advertised" to "Yes" and it helps.

Glytzhkof

Glytzhkof
  • Moderators
  • 1,447 posts

Posted 25 August 2004 - 15:09

OK, glad it helped. Forget the component with a HKCU key path. It is not necessary for your purpose.
Regards
-Stein Åsmul