Alpha_95 Posted December 29, 2010 Share Posted December 29, 2010 (edited) Hello,How to create a file that is compatible across all platforms (x86 and x64)?[SourceDisksNames]1 ="STEAM Files","STEAM.CAB",,"i386"2 = "STEAM Files x64","STEAM.CAB",,"AMD64"I tested this, but Windows 7 x64, I return the error: invalid data and yet it installs and uninstalls correctly ....Cordially Edited December 29, 2010 by Alpha_95 Quote Link to comment Share on other sites More sharing options...
ricktendo Posted December 29, 2010 Share Posted December 29, 2010 Post the entire INF, it varies from INF to INF Quote Link to comment Share on other sites More sharing options...
Alpha_95 Posted December 29, 2010 Author Share Posted December 29, 2010 Post the entire INF, it varies from INF to INFHere :http://pastebin.com/N5mqw0A9 Quote Link to comment Share on other sites More sharing options...
OnePiece Posted December 29, 2010 Share Posted December 29, 2010 (edited) How to create a file that is compatible across all platforms (x86 and x64)?[SourceDisksNames]1 ="STEAM Files","STEAM.CAB",,"i386"2 = "STEAM Files x64","STEAM.CAB",,"AMD64"[DefaultInstall.ntx86];......[DefaultInstall.ntia64];.......[SourceDisksNames.x86]1 ="STEAM Files","STEAM.CAB",,"i386"[SourceDisksNames.ia64]2 = "STEAM Files x64","STEAM.CAB",,"AMD64"[SourceDisksFiles.x86];;;;;;;;[SourceDisksFiles.ia64];......;Registryhttp://www.wincert.net/forum/index.php?/topic/8116-dxintegrator-entriesini-syntax/REG_SZ_NOCLOBBER_64BITKEY = 0x00001002REG_SZ_NOCLOBBER_32BITKEY = 0x00004002ect ect ectdownload and view one of the true addon windows 7, all are compatible in Windows x86 and x64, for example look at the Unlocker True Addonhttp://www.wincert.net/forum/index.php?/forum/190-windows-7/however, for more see herehttp://msdn.microsoft.com/en-us/library/ff547478%28v=VS.85%29.aspxhttp://msdn.microsoft.com/en-us/library/ff547472%28v=VS.85%29.aspxhttp://msdn.microsoft.com/en-us/library/ff547356%28v=VS.85%29.aspxCiao. Edited December 29, 2010 by OnePiece Quote Link to comment Share on other sites More sharing options...
ricktendo Posted December 29, 2010 Share Posted December 29, 2010 What onepiece said, but change .ia64 to .amd64You also need to change 16422 (%programfiles%) to point to 16426 (%programfiles(x86)%) and get rid of the special defaultinstall trick install Quote Link to comment Share on other sites More sharing options...
OnePiece Posted December 29, 2010 Share Posted December 29, 2010 (edited) What onepiece said, but change .ia64 to .amd64Hi ricktendo64, You're right, I wrote everything in raceThanksYou also need to change 16422 (%programfiles%) to point to 16426 (%programfiles(x86)%) and get rid of the special defaultinstall trick installperfect in this case and 16425, working in both x86 and x64Ciao. Edited December 29, 2010 by OnePiece Quote Link to comment Share on other sites More sharing options...
Alpha_95 Posted December 29, 2010 Author Share Posted December 29, 2010 (edited) Thanks for answer but doesn't works for me...I managed but not completely lolIt installs many files but I have no window asking me if I want to install the inf file and the shortcut icons are not displayed: s and files are not copied to %programfiles(x86)%\Steam Utilities[Version]Signature=$Windows NT$[Optional Components]STEAMU[STEAMU]OptionDesc = "Utilitaires STEAM"Tip = "Quelques utilitaires STEAM (Défragmentation, Vérification des fichiers, forcer le mise à jour de steam)."Modes = 0,1,2,3copyfiles = steam.Copy.amd64,steam.Copy.x86AddReg = STEAM.AddRegDelReg = Tweaks.DelRegProfileItems = Defrag.ShortCut,Check.ShortCut,MAJ.Shortcut,SCAN.Schorcut,8cores.ShortCut,forum.ShortCut[DefaultInstall.ntx86]BeginPrompt = BeginInsPromptRunpresetupcommands = Create.i386:1copyfiles = @steam.inf,steam.Copy.x86AddReg = STEAM.AddRegDelReg = Tweaks.DelRegProfileItems = Defrag.ShortCut,Check.ShortCut,MAJ.Shortcut,SCAN.Schorcut,8cores.ShortCut,forum.ShortCutRunPostSetupCommands = Delete.i386EndPrompt = EndInsPrompt[DefaultInstall.ntamd64]BeginPrompt = BeginInsPromptRunpresetupcommands = Create.i386:1copyfiles = @steam.inf,steam.Copy.amd64AddReg = STEAM.AddRegDelReg = Tweaks.DelRegProfileItems = Defrag.ShortCut,Check.ShortCut,MAJ.Shortcut,SCAN.Schorcut,8cores.ShortCut,forum.ShortCutRunPostSetupCommands = Delete.i386EndPrompt = EndInsPrompt[pnf.file]steam.pnf[Sysoc.clean]%17%\sysoc.inf,Components,STEAMU=*[Folder.del.ntx86]"rundll32.exe advpack.dll,DelNodeRunDLL32 ""%11%\UtilitairesSteam.dll""""rundll32.exe advpack.dll,DelNodeRunDLL32 ""%16422%\Utilitaires Steam\Defrag.url""""rundll32.exe advpack.dll,DelNodeRunDLL32 ""%16422%\Utilitaires Steam\Verifier Fichiers.url""""rundll32.exe advpack.dll,DelNodeRunDLL32 ""%16422%\Utilitaires Steam\MAJ_STEAM.bat""""rundll32.exe advpack.dll,DelNodeRunDLL32 ""%16422%\Utilitaires Steam\Scan.url""""rundll32.exe advpack.dll,DelNodeRunDLL32 ""%16422%\Utilitaires Steam"""[Folder.del.ntx64]"rundll32.exe advpack.dll,DelNodeRunDLL32 ""%11%\UtilitairesSteam.dll""""rundll32.exe advpack.dll,DelNodeRunDLL32 ""%16422%\Utilitaires Steam\Defrag.url""""rundll32.exe advpack.dll,DelNodeRunDLL32 ""%16422%\Utilitaires Steam\Verifier Fichiers.url""""rundll32.exe advpack.dll,DelNodeRunDLL32 ""%16422%\Utilitaires Steam\MAJ_STEAM.bat""""rundll32.exe advpack.dll,DelNodeRunDLL32 ""%16422%\Utilitaires Steam\Scan.url""""rundll32.exe advpack.dll,DelNodeRunDLL32 ""%16422%\Utilitaires Steam"""[BeginInsPrompt]Title ="%TitlePrmpt%"Prompt ="%BegPrmpt%"ButtonType =YESNO[EndInsPrompt]Prompt="%EndPrmpt%"[Create.i386]"CMD /Q /C MD ""%1%\i386"" & COPY /D /Y ""%1%\STEAM.CAB"" ""%1%\i386"" & COPY /D /Y ""%1%\steam.inf"" ""%1%\i386"""[Delete.i386]RUNDLL32 advpack.dll,DelNodeRunDLL32 %1%\i386,8[Tweaks.DelReg]HKCU,"%SMWCV%\Explorer\MenuOrder\Start Menu2"HKCU,"%SMWCV%\Explorer\MenuOrder\Start Menu2\Programs"[DefaultUninstall]BeginPrompt = BeginUnInsPromptDelFiles = PNF.File,steam.Copy.amd64,steam.Copy.x86ProfileItems = Defrag.DelShortCut,Check.DelShortCut,MAJ.DelShortcut,SCAN.DelSchorcutDelReg = Tweaks.DelReg,STEAM.AddRegDelDirs = Folder.del.ntx64,Folder.del.ntx86EndPrompt = EndUnInsPromptUpdateInis = Sysoc.cleanCleanup = 1[BeginUnInsPrompt]Prompt =%UninsQuest%Title =%UninsTitle%ButtonType =YESNO[EndUnInsPrompt]Prompt =%UninsFinal%[SourceDisksNames.x86]1 ="STEAM Files","STEAM.CAB",,"i386"[SourceDisksNames.amd64]2 = "STEAM Files x64","STEAM.CAB",,"i386"[DestinationDirs]pnf.file = 17DefaultDestDir = 17steam.Copy.amd64 = 16422,%US%steam.Copy.x86 = 16422,%US%[SourceDisksFiles]MAJ_STEAM.bat=1Defrag.url=1Scan.url=1Verifier Fichier.url=1UtilitairesSteam.dll=1[SourceDisksFiles.ntamd64]MAJ_STEAM.bat=2Defrag.url=2Scan.url=2Verifier Fichier.url=2UtilitairesSteam.dll=2[steam.Copy.amd64]Defrag.urlMAJ_STEAM.batScan.urlVerifier Fichier.urlUtilitairesSteam.dll[steam.Copy.x86]Defrag.urlMAJ_STEAM.batScan.urlVerifier Fichier.urlUtilitairesSteam.dll[8cores.ShortCut]Name = "8Cores.fr",8,25URL = "http://www.8cores.fr/"InfoTip = "Permet d'accéder au Site de la MultiGaming OctoCores"IconPath = 16422,"%US%",UtilitairesSteam.dllIconIndex = 1[forum.ShortCut]Name = "Forum 8Cores.fr",8,25URL = "http://www.forum.8cores.fr/"InfoTip = "Permet d'accéder au Forum de la MultiGaming OctoCores"IconPath = 16422,"%US%",UtilitairesSteam.dllIconIndex = 1[Defrag.ShortCut]Name = Defrag,8,25CmdLine = 16422,%US%,Defrag.urlWorkinDir = %US%InfoTip = "Permet de défragmenter les fichiers STEAM."IconPath = 16422,"%US%",UtilitairesSteam.dllIconIndex = 2[Defrag.DelShortCut]Name = Defrag,0xA,25[Check.ShortCut]Name = "Verifier Fichier",8,25CmdLine = 16422,%US%,Verifier Fichier.urlWorkinDir = %US%InfoTip = "Vérifie l'intégralités des fichiers STEAM."IconPath = 16422,"%US%",UtilitairesSteam.dllIconIndex = 2[Check.DelShortCut]Name = "Verifier Fichier",0xA,25[MAJ.Shortcut]Name = "MAJ STEAM",8,25CmdLine = 16422,%US%,MAJ_STEAM.batWorkinDir = "%US%"InfoTip = "Force la mise à jour de STEAM."IconPath = 16422,"%US%",UtilitairesSteam.dllIconIndex = 2[MAJ.DelShortcut]Name = "MAJ STEAM",0xA,25[SCAN.Schorcut]Name = "Scan",8,25CmdLine = 16422,%US%,Scan.urlWorkinDir = %US%InfoTip = "Analyse le matériel de votre PC (Peu fiable)."IconPath = 16422,"%US%",UtilitairesSteam.dllIconIndex = 2[SCAN.DelSchorcut]Name = "Scan",0xA,25[steam.DelReg]HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Utilitie_Steam"[STEAM.AddReg]HKLM,%RemoveMe%,"DisplayName",0x0,"Utilitie Steam"HKLM,%RemoveMe%,"Comments",0x0,"Tous droits réservés"HKLM,%RemoveMe%,"Contact",0x0,"8cores@8cores.fr"HKLM,%RemoveMe%,"DisplayIcon",0x0,"%16422%\%US%\UtilitairesSteam.dll,0"HKLM,%RemoveMe%,"DisplayName",0x0,"%US% %Version%"HKLM,%RemoveMe%,"InstallLocation",0x0,"%16422%\%US%"HKLM,%RemoveMe%,"NoModify",0x10001,01,00,00,00HKLM,%RemoveMe%,"NoRepair",0x10001,01,00,00,00HKLM,%RemoveMe%,"Publisher",0x0,"Owned"HKLM,%RemoveMe%,"UninstallString",,"rundll32.exe advpack.dll,LaunchINFSection %17%\steam.inf,DefaultUninstall"HKLM,%RemoveMe%,"URLInfoAbout",0x0,"http://www.8cores.fr"[Strings]Version = "1.0.0.1"RemoveMe = "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Utilitie_Steam"SMWCV = "SOFTWARE\Microsoft\Windows\CurrentVersion"US = "Utilitaires Steam"TitlePrmpt = "Owned Software Installateur"BegPrmpt = "Voulez-vous intaller Utilitaires Steam sur votre ordinateur ?"EndPrmpt = "Félicitations ! Utilitaires Steam a été installé avec succès."UninsTitle = "Owned Software Désinstallateur"UninsQuest = "Voulez vous désinstaller Utilitaires Steam ?"UninsFinal = "Utilitaires Steam a été desinstallé!" Edited December 30, 2010 by Alpha_95 Quote Link to comment Share on other sites More sharing options...
Alpha_95 Posted December 30, 2010 Author Share Posted December 30, 2010 I updated the previous answer, but the installation is not properly Quote Link to comment Share on other sites More sharing options...
OnePiece Posted December 30, 2010 Share Posted December 30, 2010 (edited) are you sure that windows 7 x64 and advpack.dll which installs your. inf INF advanced options, which supportsRegisterOCXs = RegisterOCXsSectionUnregisterOCXs = RegisterOCXsSectionBeginPrompt = BeginPromptSectionEndPrompt = EndPromptSectionRunPreSetupCommands = RunPreSetupCommandsSectionRunPostSetupCommands = RunPostSetupCommandsSectionDelDirs = DelDirsSectionbecause in my opinion maybe you and setupapi which attempts to install the. inf that does not support these options, you need to use the INF RegisterDlls Directive in this casehttp://msdn.microsoft.com/en-us/library/ff547460%28v=VS.85%29.aspxhttp://msdn.microsoft.com/en-us/library/ff547388%28v=VS.85%29.aspxCiao. Edited December 30, 2010 by OnePiece Quote Link to comment Share on other sites More sharing options...
OnePiece Posted December 30, 2010 Share Posted December 30, 2010 Anyway or already updated the post, adding all DirID supported, see if you can helpCiao. Quote Link to comment Share on other sites More sharing options...
Alpha_95 Posted December 30, 2010 Author Share Posted December 30, 2010 ok but it gets too technical to understand by translating with google.Thank you for your answers, it's nice to hear from you!Merry New Year. Quote Link to comment Share on other sites More sharing options...
OnePiece Posted December 30, 2010 Share Posted December 30, 2010 Merry New Year.Thanks, Happy New Year, to you toook but it gets too technical to understand by translating with google.When clicked manually Install in the file. inf, in Windows 7 x64, maybe setupapi.dll trying to install the inf file, not the advpack.dllrun the installation using file .cmd, to be sure, and that advpack.dll that installs your inf filerundll32.exe advpack.dll, LaunchINFSection name.infCiao. Quote Link to comment Share on other sites More sharing options...
Alpha_95 Posted December 30, 2010 Author Share Posted December 30, 2010 cmd > type advpack.dll rundll32.exe, steam.inf LaunchINFSection :Module C:\Windows\SYSTEM32\advpack.dll was loaded but the entry point DllRegisterServer is found. Verify that CC:\Windows\SYSTEM32\advpack.dll a DLL or OCX file and try again Quote Link to comment Share on other sites More sharing options...
ricktendo Posted December 30, 2010 Share Posted December 30, 2010 Its backwards Quote Link to comment Share on other sites More sharing options...
Alpha_95 Posted December 30, 2010 Author Share Posted December 30, 2010 Its backwards?? Quote Link to comment Share on other sites More sharing options...
Alpha_95 Posted January 19, 2011 Author Share Posted January 19, 2011 ??I can not somebody can correct me and make it functional (compatible for all platforms XP, Vista x86 and x64 and Seven) please ?Cordialy Quote Link to comment Share on other sites More sharing options...
ricktendo Posted January 19, 2011 Share Posted January 19, 2011 Not always possible, especially if you are copyting files to system32 and program files Quote Link to comment Share on other sites More sharing options...
Alpha_95 Posted January 19, 2011 Author Share Posted January 19, 2011 (edited) There are no files that go into system32 and Program Files, this is not mandatory, it should copy the files on the desktop. Edited January 19, 2011 by Alpha_95 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.