Posted October 3, 200816 yr :help: @ Ricks@ EverybodyMy KO Approach INTL addon is almost ready. But i have few problems. Setup must copy many files whose aren't the same for all languages.ex: Approach.exe have english for default & native language but don't have a language file (Approach[en_US].xml) in application folder named "locale".example below (sorry for presentation) :D E L E T EAfter analyzing Rick's Img Burn Intl addon, I try to do my addon like that. But no success. Any idea on how to do that or tricks are welcome.Thanx. Edited February 18, 200916 yr by Ken@fri
October 7, 200816 yr Author OK. This is EXACTLY what i'm trying to have:And this is my INF file:;=====================================; ::_Ken@fri aka Xtr3mnician _:: | 2008 |;=====================================;18.09.2008 : 1rst release } <---------- just for me ONLY ; ;19.09.2008 : updated --> Fran Edited March 9, 200916 yr by Ken@fri
October 7, 200816 yr Before I advize you on how to do this I want to take the chance to tell you that you can use only one line with taskkill to close more than one program like thisTASKKILL /F /IM xplorer2.exe /IM editor2.exe /TOK now, let me download the program and I can advize you how to best use Intl strings
October 11, 200816 yr I tried making sense but I gol lost, only you know what you were tryingI can tell you tho that you are on the right track
December 2, 200816 yr Author I tried making sense but I gol lost, only you know what you were tryingI can tell you tho that you are on the right track@ RickI found how to do the job about my xplorer2 lite 1.7.1.4 INTL addon: by using one of your tricks (thanx for that, man) :thumbsup_anim: .[Version]Signature="$Windows NT$"[Optional Components]xplorer2[DefaultInstall]RegisterDLLs=Install.x2[Install.x2]11,,rundll32.exe,,,"advpack.dll,LaunchINFSection %01%\%THIS_INF%,Install"[Install]BeginPrompt =BeginInsPromptEndPrompt =EndInsPromptRunPreSetupCommands =Create.i386:1RunPostSetupCommands=Delete.i386CopyFiles =snap.Files,THIS_INF.Copy,%LOCALIZE_1%,%LOCALIZE_2%,%LOCALIZE_3% <----- Rick's trick I usedAddReg =x2.Settings.AddReg,Uninstall.AddRegDelReg =Organiz.Start.MenuProfileItems =x2.Deskcut,x2.Quickcut,ed2t.Quickcut,Editor2.Startcut,ed2t.Startcut,Hlp.Startcut,x2.Startcut,Web.Startcut[BeginInsPrompt]Title ="::. %Loc_InsTitle% .::"Prompt ="%Loc_InsPrompt%"ButtonType=YESNO[EndInsPrompt]Prompt="%Loc_EndInsTitle%";Creates i386 temp directory and copies install files to it[Create.i386]CMD /Q /C MD """%01%\i386""" & COPY /D /Y """%01%\*.cab""" """%01%\i386"""; Deletes i386 temp directory after install is complete[Delete.i386]RUNDLL32 advpack.dll,DelNodeRunDLL32 %01%\i386,8[xplorer2]OptionDesc ="xplorer2 lite"Tip ="%APP_TIP%"Modes =0,1,2,3CopyFiles =snap.Files,%LOCALIZE_1%,%LOCALIZE_2%,%LOCALIZE_3%AddReg =x2.Settings.AddReg,Uninstall.AddRegDelReg =Organiz.Start.MenuProfileItems=x2.Deskcut,x2.Quickcut,ed2t.Quickcut,Editor2.Startcut,ed2t.Startcut,Hlp.Startcut,x2.Startcut,Web.Startcut[SourceDisksNames.x86]1="xplorer2 lite Files","xplorer2.cab",,"I386"[DestinationDirs]snap.Files =16422,"%SNAP%"DefaultDestDir=16422,"%PATH_X2%"THIS_INF.Copy =17PNF.File =17[SourceDisksFiles]de_ed2t1.txt=1de_ed2t2.txt=1%Editor2%=1%loc0%x2t.dll=1%loc1%ed2t.dll=1%loc%x2hlp.htm=1%Registry%=1%tip_rtf%x2tip.rtf=1%tip_txt%x2tip.txt=1;- IMGS -%loc%accel.png=1%loc%altK.png=1%loc%args.png=1%loc%atrib.png=1%loc%axpre.png=1%loc%batch.png=1%loc%ccf.png=1%loc%ckat.png=1%loc%cnsol.png=1%loc%cpyto.png=1%loc%dvbar.gif=1%loc%dupe.png=1%loc%epud.gif=1%loc%find.png=1%loc%grep.png=1%loc%hiera.gif=1%loc%katx.png=1%loc%licer.png=1%loc%maex.png=1%loc%main.png=1%loc%make.png=1%loc%next.gif=1%loc%ordef.png=1%loc%org.png=1%loc%play.gif=1%loc%prev.gif=1%loc%regi.png=1%loc%rule.png=1%loc%skrap.png=1%loc%split.png=1%loc%sync.png=1%loc%scres.png=1%loc%tibar.gif=1%loc%tno.gif=1%loc%trops.png=1%loc%tyep.gif=1%loc%uncas.png=1%loc%up.gif=1;----changes.txt=1ed2t.exe=1ed2t.man=1licence.txt=1x2Edit.exe=1x2help.css=1x2lite.exe=1x2lite.man=1x2skin.bmp=1x2skinBW.bmp=1[snap.Files]accel.png,%loc%accel.pngaltK.png,%loc%altK.pngargs.png,%loc%args.pngattrib.png,%loc%atrib.pngaxpre.png,%loc%axpre.pngbatch.png,%loc%batch.pngccf.png,%loc%ccf.pngckat.png,%loc%ckat.pngconsol.png,%loc%cnsol.pngcopyto.png,%loc%cpyto.pngdrivebar.gif,%loc%dvbar.gifdupe.png,%loc%dupe.pngepud.gif,%loc%epud.giffind.png,%loc%find.pnggrep.png,%loc%grep.pnghiera.gif,%loc%hiera.gifkatx.png,%loc%katx.pnglicer.png,%loc%licer.pngmaex.png,%loc%maex.pngmainfr.png,%loc%main.pngmake.png,%loc%make.pngnext.gif,%loc%next.gifordef.png,%loc%ordef.pngorg.png,%loc%org.pngplay.gif,%loc%play.gifprev.gif,%loc%prev.gifregi.png,%loc%regi.pngrule.png,%loc%rule.pngskrap.png,%loc%skrap.pngsplit.png,%loc%split.pngsync.png,%loc%sync.pngsyncres.png,%loc%scres.pngtitlebar.gif,%loc%tibar.giftno.gif,%loc%tno.giftrops.png,%loc%trops.pngtyep.gif,%loc%tyep.gifuncas.png,%loc%uncas.pngup.gif,%loc%up.gif[THIS_INF.Copy]xplorer2.inf[Nothing][Default]xplorer2_lite.exe.manifest,x2lite.manchanges.txteditor2.exe,ed2t.exeeditor2.exe.manifest,ed2t.manlicence_free.txt,licence.txtEditor2.txtregistry.txtx2help.htm,%loc%x2hlp.htmx2help.cssx2SettingsEditor.exe,x2Edit.exexplorer2_lite.exe,x2lite.exe;Visterish skin made by FMG ---(Feel free to remove it too)x2skin.bmpx2skinBW.bmpx2tips.rtf,%tip_rtf%x2tip.rtfx2tips.txt,%tip_txt%x2tip.txt[Translate_1]xplorer2_lite.exe.manifest,x2lite.manchanges.txteditor2.exe,ed2t.exeeditor2.exe.manifest,ed2t.manlicence_free.txt,licence.txtx2help.cssx2SettingsEditor.exe,x2Edit.exexplorer2_lite.exe,x2lite.exex2skin.bmpx2skinBW.bmp%x2t_intl%,%loc0%x2t.dll%ed2t_intl%,%loc1%ed2t.dllx2tips.rtf,%tip_rtf%x2tip.rtfx2tips.txt,%tip_txt%x2tip.txtx2help.htm,%loc%x2hlp.htm%Editor2%%Registry%[Translate_2]xplorer2_lite.exe.manifest,x2lite.manchanges.txteditor2.exe,ed2t.exeeditor2.exe.manifest,ed2t.manlicence_free.txt,licence.txtx2help.cssx2SettingsEditor.exe,x2Edit.exexplorer2_lite.exe,x2lite.exex2skin.bmpx2skinBW.bmp%x2t_intl%,%loc0%x2t.dll%ed2t_intl%,%loc1%ed2t.dllx2tips.rtf,%tip_rtf%x2tip.rtfx2tips.txt,%tip_txt%x2tip.txtx2help.htm,%loc%x2hlp.htm%Registry%Editor2-GE-01a.txt,de_ed2t1.txtEditor2-Nutzung-01a.txt,de_ed2t2.txt[Translate_3]xplorer2_lite.exe.manifest,x2lite.manchanges.txteditor2.exe,ed2t.exeeditor2.exe.manifest,ed2t.manlicence_free.txt,licence.txtx2help.cssx2SettingsEditor.exe,x2Edit.exexplorer2_lite.exe,x2lite.exex2skin.bmpx2skinBW.bmp%x2t_intl%,%loc0%x2t.dllx2tips.rtf,%tip_rtf%x2tip.rtfx2tips.txt,%tip_txt%x2tip.txtx2help.htm,%loc%x2hlp.htm%Editor2%%Registry%@ EverybodyBut now, I'm trying to do that by another way. You can see below the script I wrote. In this 2nd solution, i'd like xplorer2 lite installation finds the right location of XPLORER2.CAB and goes silently, without user prompt. Until now,none solution. Only DefaultInstall section goes fine. Any ideas ??[Version]Signature="$Windows NT$"[DefaultInstall]RegisterDLLs=Install.x2[Install.x2]11,,rundll32.exe,,,"advpack.dll,LaunchINFSection %01%\xplorer2.inf,Install.%LANG%"[Install.ENU]BeginPrompt =BeginInsPromptEndPrompt =EndInsPromptRunPreSetupCommands =Create.i386:1RunPostSetupCommands=Delete.i386CopyFiles =x2.Files,snap.Files,@xplorer2.infAddReg =x2.Settings.AddReg,Uninstall.AddRegDelReg =Organiz.Start.MenuProfileItems =x2.Deskcut,x2.Quickcut,ed2t.Quickcut,Editor2.Startcut,ed2t.Startcut,Hlp.Startcut,x2.Startcut,Web.Startcut[Install.DEU]BeginPrompt =BeginInsPromptEndPrompt =EndInsPromptRunPreSetupCommands =Create.i386:1RunPostSetupCommands=Delete.i386CopyFiles =x2.Files,x2.Localized.Files,x2.Files.DEU,snap.Files,@xplorer2.infAddReg =x2.Settings.AddReg,Uninstall.AddRegDelReg =Organiz.Start.MenuProfileItems =x2.Deskcut,x2.Quickcut,ed2t.Quickcut,Editor2.Startcut,ed2t.Startcut,Hlp.Startcut,x2.Startcut,Web.Startcut[Install.INT]BeginPrompt =BeginInsPromptEndPrompt =EndInsPromptRunPreSetupCommands =Create.i386:1RunPostSetupCommands=Delete.i386CopyFiles =x2.Files,x2.Localized.Files,snap.Files,@xplorer2.infAddReg =x2.Settings.AddReg,Uninstall.AddRegDelReg =Organiz.Start.MenuProfileItems =x2.Deskcut,x2.Quickcut,ed2t.Quickcut,Editor2.Startcut,ed2t.Startcut,Hlp.Startcut,x2.Startcut,Web.Startcut[Install.PTB]BeginPrompt =BeginInsPromptEndPrompt =EndInsPromptRunPreSetupCommands =Create.i386:1RunPostSetupCommands=Delete.i386CopyFiles =x2.Files,x2.Files.PTB,snap.Files,@xplorer2.infAddReg =x2.Settings.AddReg,Uninstall.AddRegDelReg =Organiz.Start.MenuProfileItems =x2.Deskcut,x2.Quickcut,ed2t.Quickcut,Editor2.Startcut,ed2t.Startcut,Hlp.Startcut,x2.Startcut,Web.Startcut[BeginInsPrompt]Title ="::. %Loc_InsTitle% .::"Prompt ="%Loc_InsPrompt%"ButtonType=YESNO[EndInsPrompt]Prompt="%Loc_EndInsTitle%"[Create.i386]CMD /Q /C MD """%01%\i386""" & COPY /D /Y """%01%\*.cab""" """%01%\i386"""[Delete.i386]RUNDLL32 advpack.dll,DelNodeRunDLL32 %01%\i386,8[Optional Components]xplorer2[xplorer2]OptionDesc ="xplorer2 lite"Tip ="%X2_TIP%"Modes =0,1,2,3RegisterDLLs =x2.InstallNow <-------- 1rst TEST (setup starts at T-23);AddReg =x2.RunOnce <-------- 2nd TEST (setup starts at T-13);[x2.RunOnce];HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce","xplorer2 lite",,"rundll32.exe advpack.dll,LaunchINFSection xplorer2.inf,Launch.x2.Install";[Launch.x2.Install];RunPostSetupCommands=x2.InstallNow[x2.InstallNow];rundll32.exe advpack.dll,LaunchINFSection %17%\xplorer2.inf,Install.x2.%LANG% |;rundll32.exe advpack.dll,LaunchINFSectionEx %01%\i386\xplorer2.inf,Install.x2.%LANG%,%01%\i386\xplorer2.cab,4,N | <---- What's the correct command ???;rundll32.exe advpack.dll,LaunchINFSectionEx %17%\xplorer2.inf,Install.x2.%LANG%,%01%\i386\xplorer2.cab,4,N |11,,rundll32.exe,,,"advpack.dll,LaunchINFSectionEx %17%\xplorer2.inf,Install.x2.%LANG%,%01%\i386\xplorer2.cab,4,N" | [Install.x2.ENU]CopyFiles =x2.Files,snap.FilesAddReg =x2.Settings.AddReg,Uninstall.AddRegDelReg =Organiz.Start.MenuProfileItems=x2.Deskcut,x2.Quickcut,ed2t.Quickcut,Editor2.Startcut,ed2t.Startcut,Hlp.Startcut,x2.Startcut,Web.Startcut[Install.x2.DEU]CopyFiles =x2.Files,x2.Localized.Files,x2.Files.DEU,snap.FilesAddReg =x2.Settings.AddReg,Uninstall.AddRegDelReg =Organiz.Start.MenuProfileItems=x2.Deskcut,x2.Quickcut,ed2t.Quickcut,Editor2.Startcut,ed2t.Startcut,Hlp.Startcut,x2.Startcut,Web.Startcut[Install.x2.INT]CopyFiles =x2.Files,x2.Localized.Files,snap.FilesAddReg =x2.Settings.AddReg,Uninstall.AddRegDelReg =Organiz.Start.MenuProfileItems=x2.Deskcut,x2.Quickcut,ed2t.Quickcut,Editor2.Startcut,ed2t.Startcut,Hlp.Startcut,x2.Startcut,Web.Startcut[Install.x2.PTB]CopyFiles =x2.Files,x2.Files.PTB,snap.FilesAddReg =x2.Settings.AddReg,Uninstall.AddRegDelReg =Organiz.Start.MenuProfileItems=x2.Deskcut,x2.Quickcut,ed2t.Quickcut,Editor2.Startcut,ed2t.Startcut,Hlp.Startcut,x2.Startcut,Web.Startcut[SourceDisksNames.x86]1="xplorer2 lite Files","xplorer2.cab",,"I386"Where i'm wrong below (the correct command please) :[xplorer2]OptionDesc ="xplorer2 lite"Tip ="%X2_TIP%"Modes =0,1,2,3RegisterDLLs =x2.InstallNow <-------- 1rst TEST (setup starts at T-23);AddReg =x2.RunOnce <-------- 2nd TEST (setup starts at T-13);[x2.RunOnce];HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce","xplorer2 lite",,"rundll32.exe advpack.dll,LaunchINFSection xplorer2.inf,Launch.x2.Install";[Launch.x2.Install];RunPostSetupCommands=x2.InstallNow[x2.InstallNow];rundll32.exe advpack.dll,LaunchINFSection %17%\xplorer2.inf,Install.x2.LANG% |;rundll32.exe advpack.dll,LaunchINFSectionEx %01%\i386\xplorer2.inf,Install.x2.%LANG%,%01%\i38\xplorer2.cab,4,N ;rundll32.exe advpack.dll,LaunchINFSectionEx %17%\xplorer2.inf,Install.x2.%LANG%,%01%\i386\xplorer2.cab,4,N Edited March 9, 200916 yr by Ken@fri
December 6, 200816 yr Why do you use so many strings in your inf? Especially in source disk files section???%loc%ckat.png=1What does that mean? Where is your strings section buddy ANd use codebox next time, this way the page is tooo big to display :SWaiting for your response. Please remove those %%'s from [sourceDisksFiles] and file copy sections. I didnt see a coding like this before
February 18, 200916 yr Author Why do you use so many strings in your inf? Especially in source disk files section???%loc%ckat.png=1What does that mean? Where is your strings section buddy ANd use codebox next time, this way the page is tooo big to display :SWaiting for your response. Please remove those %%'s from [sourceDisksFiles] and file copy sections. I didnt see a coding like this before FIXED :thumbsup_anim: . See HEREThanx 4 ur help & advices. :worthy:
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.