gareththegod Posted August 26, 2004 Posted August 26, 2004 I am trying to make an inf file that will only work on windows xp sp2 RTM build (2180)I know that its something that has to go under the version sections but I can't find out anything about it.[version]signature="$CHICAGO$"[DefaultInstall]AddReg = File, Add.UninstallCopyFiles = Gotoinf[DefaultUninstall]DelReg = Del.RegistryDelFiles = Gotoinf[File]; changes .reg files to open not merge.HKCR,"%Reg%\shell",,,"edit"; changes .cmd files to edit not open/run.HKCR,"%Cmd%\shell",,,"edit"; changes .bat files to edit not open/run.HKCR,"%Bat%\shell",,,"edit"[Add.Uninstall]HKLM,%Uninstall%,DisplayName,,"%AppDesc%"HKLM,%Uninstall%,UninstallString,,"rundll32.exe syssetup.dll,SetupInfObjectInstallAction DefaultUninstall 132 %17%\%thisfile%"[Del.Registry]; changes .reg files to merge not open.HKCR,"%Reg%\shell",,,""; changes .cmd files to open/run not edit.HKCR,"%Cmd%\shell",,,""; changes .bat files to open/run not edit.HKCR,"%Bat%\shell",,,""HKLM,"%Uninstall%"[DestinationDirs]Gotoinf = 17;windows\inf[Gotoinf]%thisfile%[STRINGS]Reg = regfileCmd = cmdfileBat = batfileCurrent = "Software\Microsoft\Windows\CurrentVersion"Explorer = "Software\Microsoft\Windows\CurrentVersion\Explorer"Uninstall = "Software\Microsoft\Windows\CurrentVersion\Uninstall\%thisfile%"thisfile = "change.inf"AppDesc = "Change File Associations reg, bat, cmd"I want to try a file so that it will only apply registry settings or install applications like the support tools.i think that it might be build= 2180 to go under version but i could be wrong.
knight_dkn Posted August 26, 2004 Posted August 26, 2004 [version]signature="$CHICAGO$"From what I've read the version part is the key, $CHICAGO$ is the beta name for windows 95 but I've yet to find the correct value for XP SP2.Edit:oops $CHICAGO$ indicates the file is valid for all windows OS's, A list of values can be found here: http://msdn.microsoft.com/library/default....9cacce8.xml.asp
gareththegod Posted August 26, 2004 Author Posted August 26, 2004 sorry i mean something like this[version]signature="$CHICAGO$"; Bulid=2600; <-- This is what I mean. Can this be used?; Minorversion=2180; <-- This is what I mean. Can this be used?[DefaultInstall]AddReg = File, Add.UninstallThe two things that are commented out in the [version] I think that ive seen this in an inf file but I can't remember if this is correct or where I found it.Would gosh be able to help??
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