Thanks
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.
location of <programfilesfolder>
Started by
Kelly Russell
, Aug 14 2001 19:40
4 replies to this topic
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?
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
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.
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.