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

Auto-Repair Running when it Shouldn't


1 reply to this topic

AceMcCloud

AceMcCloud
  • Members
  • 10 posts

Posted 24 October 2002 - 21:01

I was not sure which forum to post this in...

I have written a Windows Installer package using Wise Installer Pro 3.5 and
am having two problems.

My application is auto-reinstalling itself when I run another app that
is not even a part of the setup. I have taken out all KeyPath's out of the
Component table, which I thought would prevent any auto-repairing from
occuring. I then uninstalled the old installation and then reinstalled and
ran the offending app. Again reinstall. Are there other KeyPath's that I
haven't seen? In the Event Viewer I can see that one of the components
referenced is a directory, which I remove myself manually after a successful
install, but again I expect this to NOT be a problem since I removed all
KeyPath's. Am I missing something here?


Thanks.   ???

Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 24 October 2002 - 22:38

From MSI Help:
KeyPath
This value points to a file or folder belonging to the component that the installer uses to detect the component. ... If the value is not NULL, then KeyPath is either a primary key into the Registry, ODBCDataSource, or File tables depending upon the Attribute value. If KeyPath is null, then the folder of the Directory_ column is used as the key path.

So the directory is now your key path.