Geej Posted March 5, 2010 Share Posted March 5, 2010 The progress bar was just to get a sense of completion, because I added several applications in the HFGUIRUNONCEIf u just want to get a sense of completion, try using RunOnceEx instead Link to comment Share on other sites More sharing options...
tommyp Posted March 5, 2010 Share Posted March 5, 2010 Can someone try manually changing runonce to runonceex in the sourcess\i386\hfslpgui.inf file and see if the runonceex works properly? Link to comment Share on other sites More sharing options...
AJARBAS Posted March 6, 2010 Author Share Posted March 6, 2010 (edited) Can someone try manually changing runonce to runonceex in the sourcess\i386\hfslpgui.inf file and see if the runonceex works properly?Someone could esin me? What do I do?[Version]Signature="$WINDOWS NT$"[HFSLIPGUI_Rem]AddReg=AddReg.Rem[HFSLIPGUI_Run]AddReg=AddReg.Run[AddReg.Rem]HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce",HFSLIPGUI,0x20000,"CMD /C RD/Q/S %WINDIR%\HFSLIP"HKLM,"Software\Microsoft\Internet Explorer\ActiveX Compatibility\{0002E510-0000-0000-C000-000000000046}","Compatibility Flags",0x10001,0x400[AddReg.Run]HKLM,"Software\Microsoft\Internet Explorer\ActiveX Compatibility\{0002E510-0000-0000-C000-000000000046}","Compatibility Flags",0x10001,0x400HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce",HFSLIPGUI,0x20000,"CMD /C CMDOW @ /HID&START/WAIT %SYSTEMROOT%\HFSLIP\HFSLPGUI.CMD" Edited March 6, 2010 by AJARBAS Link to comment Share on other sites More sharing options...
Geej Posted March 6, 2010 Share Posted March 6, 2010 (edited) I dun know how to convert runonce to runonceex via the hfslpgui.inf What I mean is to run the exe file via the runonceex route.There is a known method suggested in the Unattended Windows/RunOnceEx from CDBut since HFSLIP support Autoit, why not use this feature rather than using batch file. By using batch file, you have to use cmdow.exe to hide console window.Autoit do not need that. And you can keep adding your application here. nlite & RMVi can't do this I shall provide you with sample autoit syntax and you just modify it according to your need.Take for example, DOTNET 3.0 & 3.5 to install via RunOnceEx instead of HFGUIRUNONCEI run .Net 3.0 & 3.5 via a single exe using HFEXPERT\AUTOIT folder (You create this folder manually).Syntax for the registry entry is (I called it ROEscript.au3. The .au3 is simply a text file with .au3 extension)$ROE="HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx" ;Assign $ROE to stated string. Similar to Set commandRegWrite($ROE, 'TITLE', 'Reg_sz', 'Installing Applications . . .');The Main RunOnceEx Windows Title. (Note: Default is 'Windows Update')RegWrite($ROE&'\DNF3', '', 'Reg_sz', '.Net 3.0 SP2 and 3.5 SP1'); Application name to appear in your RunonceEx windowsRegWrite($ROE&'\DNF3', '1', 'Reg_sz', [b]@ScriptDir[/b]&"\DNF335.exe"); command with switch. Can also be switchless if exe is repackage.RegWrite($ROE&'\FolderSize', '', 'Reg_sz', 'Folder Size 2.4'); adding next application reg entryRegWrite($ROE&'\FolderSize', '1', 'Reg_sz', @ScriptDir&"\FolderSize-2.4.msi /quiet")Drag ROEscript.au3 to autoit3.exe to execute the scriptNow open up your registry and view your ROE entry to have a feel how things looks like.You can add more syntax and recheck your registry to confirm. (After viewing, delete these added keys)During execution at T13, only registry entry are written. Hence when 1st reboot, your application is install viaD:\I386\SVCPACK\ (Assume you tested in VM)Advantage: Installer.exe do not need to copied to harddisk first.It installs from CD. Useful for big switchless exe like .NET 3.0 & 3.5Constraint using AUTOIT folder:Requires main executable AutoIt3.exe to be present. You can get it from the main webpage. (Just download the ZIP package and place autoit3.exe in EXPERT\AUTOIT folderROEScript.au3 can be >8.3 but filename must not have spaceMin files must have at least 3 filesAutoIt3.exe <-essentialROEScript.au3 <- autoit installer script, in text formInstaller.exe <- your installer applicationSubsequently, if you wish to add more application using ROE, just add entry to ROEscript.au3 and put new installer file in this folder.ROEscript.au3Pls test in VM. Edited March 6, 2010 by Geej Link to comment Share on other sites More sharing options...
tfoutfou Posted March 8, 2010 Share Posted March 8, 2010 i just found a way to fix our problem AJARBASare you installing from USB ? do you use winsetupfromusb ?if yes , you have to edit HFSLIP.CMD1) use winsetupfromusb to put your SOURCESS into your USBstick wait for it to complete2) go to your "drive letter of your usb stick"\WINSETUP\XPpSP3\I386\SVCPACKedit HFSLIP.CMDreplaceFOR %%i IN (C D E F G H I J K L M N O P Q R S T U V W X Y Z) DO IF EXIST %%i:\I386\SVCPACK ( SET HFSLIP=%%i:\I386\ SET HFSLIPSVC=%%i:\I386\SVCPACK\)with FOR %%i IN (C D E F G H I J K L M N O P Q R S T U V W X Y Z) DO IF EXIST %%i:\WINSETUP\XPpSP3\I386\SVCPACK ( SET HFSLIP=%%i:\WINSETUP\XPpSP3\I386\ SET HFSLIPSVC=%%i:\WINSETUP\XPpSP3\I386\SVCPACK\)3) that's it , you shouldnt have any problem Link to comment Share on other sites More sharing options...
tommyp Posted March 8, 2010 Share Posted March 8, 2010 Instead of modifying that, you can always type XPpSP3 when prompted at the multiboot screen when hfslip is first run. Link to comment Share on other sites More sharing options...
tfoutfou Posted March 8, 2010 Share Posted March 8, 2010 you mean WINSETUP\XPpSP3 ?is the final result the same ? Cheers Link to comment Share on other sites More sharing options...
tommyp Posted March 8, 2010 Share Posted March 8, 2010 you mean WINSETUP\XPpSP3 ?is the final result the same ? CheersOoops, yea, putting WINSETUP\XPpSP3 whem prompted will change the hfslip.cmd just as you prescribed. 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