toreach Posted March 22, 2004 Share Posted March 22, 2004 Hi all,ive searched for the "Program_Files_Dir" variable. Like the Documents and Settings variable in HiveSFT.Inf. Nothing found. I searched all files for "Default_Programs" but nothing found!It must be somewhere as i can set it in the Winnt.Sif. But there are no variables allowed so i wanna know where i can find the "real" string for this.Ive extracted all files and searched through them. But nothing.Someone out there must know this. I hope its someone here.Please tell me if you know its location.//edit1//well, variables are allowed in the winnt.sif file. if its true what i just read in another file. But i still wanna know where the //programs dir is set. Link to comment Share on other sites More sharing options...
big_gie Posted March 22, 2004 Share Posted March 22, 2004 In your winnt.sif:[unattended] ... ProgramFilesDir="D:" CommonProgramFilesDir="D:\FichiersCommuns" ... Link to comment Share on other sites More sharing options...
gmx Posted March 22, 2004 Share Posted March 22, 2004 can someone list all of special folders and their location.. (not reg keys but in places like document and settings being in hivesft.inf and so on) Link to comment Share on other sites More sharing options...
toreach Posted March 22, 2004 Author Share Posted March 22, 2004 Of course thats what i do right now. But where is it set the first time. must be somewhere otherwise setup would ask the user but its reading the dir from somewhere. but from where? Ok, its not important and somehow it will go public some day.And 2. directories to set in files------------------------------------------------------------------------------------HiveDef.Inf (at the almost bottom of the file.)TEMP_DIR="%USERPROFILE%\Lokale Einstellungen\Temp"U_SHELL_FOLDERS_APPDATA="%USERPROFILE%\Anwendungsdaten"U_SHELL_FOLDERS_DESKTOP="%USERPROFILE%\Desktop"U_SHELL_FOLDERS_FAVORITES="%USERPROFILE%\Favoriten"U_SHELL_FOLDERS_NETHOOD="%USERPROFILE%\Netzwerkumgebung"U_SHELL_FOLDERS_PERSONAL="%USERPROFILE%\Eigene Dateien"U_SHELL_FOLDERS_PRINTHOOD="%USERPROFILE%\Druckumgebung"U_SHELL_FOLDERS_PROGRAMS="%USERPROFILE%\Startmenü\Programme"U_SHELL_FOLDERS_RECENT="%USERPROFILE%\Recent"U_SHELL_FOLDERS_SENDTO="%USERPROFILE%\SendTo"U_SHELL_FOLDERS_START_MENU="%USERPROFILE%\Startmenü"U_SHELL_FOLDERS_STARTUP="%USERPROFILE%\Startmenü\Programme\Autostart"U_SHELL_FOLDERS_TEMPLATES="%USERPROFILE%\Vorlagen"U_SHELL_FOLDERS_COOKIES="%USERPROFILE%\Cookies"U_SHELL_FOLDERS_MYPICTURES="%USERPROFILE%\Eigene Dateien\Eigene Bilder"U_SHELL_FOLDERS_LOCAL_SETTINGS="%USERPROFILE%\Lokale Einstellungen"U_SHELL_FOLDERS_LOCAL_APPDATA="%USERPROFILE%\Lokale Einstellungen\Anwendungsdaten"U_SHELL_FOLDERS_CACHE="%USERPROFILE%\Lokale Einstellungen\Temporary Internet Files"U_SHELL_FOLDERS_HISTORY="%USERPROFILE%\Verlauf"(Well this is english/non english mixed but just go down to the almost end of the file and ull see)------------------------------------------------------------------------------------HIVESFT.INFLine: 3844"Documents and Settings"------------------------------------------------------------------------------------WINNT.SIF"Programs""Documents and Settings"... ...------------------------------------------------------------------------------------You can change more using the Registry (Look at the key itself in your registry for your language):FontsFavoritesVerlaufCookiesHKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders------------------------------------------------------------------------------------Installation SourcesServicePackFilesDriver CacheHKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Setup------------------------------------------------------------------------------------Downloaded Program FilesHKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\VolumeCaches\Downloaded Program Files------------------------------------------------------------------------------------ActiveX CacheHKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet SettingsHKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\ActiveX Cache------------------------------------------------------------------------------------InfMediaProgram Files )Web\WallpaperCommon FilesHKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion------------------------------------------------------------------------------------I guess u can change every folders location... Link to comment Share on other sites More sharing options...
SKiTLz Posted March 22, 2004 Share Posted March 22, 2004 Does anyone that moves their ProgramFiles dir have issues with installshield uninstalls? I've noticed ever since I moved my ProgramFiles and CommonFiles to D:\ that all InstallShield uninstalls are borked.. Link to comment Share on other sites More sharing options...
toreach Posted March 22, 2004 Author Share Posted March 22, 2004 Im not that deep in testing my unattended versions but at least installation works fine ; )never tried to uninstall and my folders are still on my systemdrive.Im happy if they at least will be installed during setup. Link to comment Share on other sites More sharing options...
big_gie Posted March 23, 2004 Share Posted March 23, 2004 I'm using D: as program files since some years and NEVER had any problems...I'm now setting the program files location from winnt.sif and everything works fine. No unistall problems...I onced installed manually everything to "D:\" (even is program files whas pointing to C:\program files) and didn't had any problems... Link to comment Share on other sites More sharing options...
gmx Posted March 23, 2004 Share Posted March 23, 2004 thank you so much toreach for that list. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now