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

location of <programfilesfolder>


4 replies to this topic

Kelly Russell

Kelly Russell
  • Members
  • 72 posts

Posted 14 August 2001 - 19:40

where does installshield get the "programfilesfolder" property from? I have a user that is showing C:\Winnt as the "programfilesfolder". ??? Any ideas?

Thanks


Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 14 August 2001 - 21:47

The Windows Installer runtime from Microsoft will retrieve this information, not InstallShield. I haven't found documentation, but I guess it reads it from registry key ProgramFilesDir under HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion

Ian Blake

Ian Blake
  • Members
  • 483 posts

Posted 15 August 2001 - 10:32

Looking at log files it appears that the msi engine calls SHGetFolderPath to retrieve the various shell directories.

I do not know how the user has overridden the usual default.


baking

baking
  • Members
  • 19 posts

Posted 17 August 2001 - 21:30

I have this same problem. If I import an msi file into ISWI, some of the predefined folders are messed up. If I choose to install a component in AppDataFolder from the drop down list it will create c:\AppDataFolder and put the files there.