Content Type
Profiles
Forums
Events
Everything posted by kof94
-
VMware Workstation causes this problem. Download a copy of Virtual PC 2004 (it's free now) for testing 9x installations from a multi-boot disc (or any disc except your original).
-
Sorry but I have no idea. I use K-lite mega codec pack with the standard Inno /SILENT switch (for default install), hasn't ever asked for a restart. If 2.72 nsane uses Inno Setup just add the /NORESTART switch.
-
... rundll32.exe iernonce.dll,RunOnceExProcess REG ADD %KEY% /V TITLE /D "Finalizando a instalacao" /f REG ADD %KEY%\001 /VE /D "Fazendo ajustes finais, limpando arquivos temporarios usados na instalacao e reiniciando" /f REG ADD %KEY%\001 /V 1 /D "%scripts%\gugutz.cleanup.cmd" /f REG ADD %KEY%\010 /VE /D "Configurando Conexoes Dial-Up" /f REG ADD %KEY%\010 /V 1 /D "%scripts%\gugutz.dial-up.config.cmd" /f rundll32.exe iernonce.dll,RunOnceExProcess EXIT The bit in red is what your missing, your not executing your final commands . I posted about this here if you want more info.
-
Ok, this was my work around idea, that also doesn't work. Being that my runonceex commands were initiated at at about T-24 (sysoc.inf) I gathered that this must have been my problem. I thought this because setup thinks at this point that %CDROM%\IXPP\ is the root of the disc (like a normal Windows disc) To over come this I thought of running my final commands at logon: Heres my inf now: [Version] Signature=$CHICAGO$ [Optional Components] Sysoc [Sysoc] OptionDesc = "Sysoc" Tip = "Sysoc" Modes = 0,1,2,3 AddReg = Sysoc.AddReg [Logon] OptionDesc = "Logon" Tip = "Logon" Modes = 0,1,2,3 AddReg = Logon.AddReg [Postlogon] OptionDesc = "Postlogon" Tip = "Postlogon" Modes = 0,1,2,3 AddReg = Postlogon.AddReg RunPostSetupCommands = Postlogon.Run [SourceDisksNames] 222 = %cdname%,%cdtagfile%,,"" [Sysoc.AddReg] HKLM,"%RunOnceEx%",,0x00000012 HKLM,"%RunOnceEx%",Flags,0x00010001,0x00000080 HKLM,"%RunOnceEx%\Sysoc_1",1,,"rundll32 setupapi,InstallHinfSection Logon 128 %17%\Roex.inf" [Logon.AddReg] HKLM,"%RunOnceEx%",,0x00000012 HKLM,"%RunOnceEx%",Flags,0x00010001,0x00000080 HKLM,"%RunOnceEx%\Logon_1",1,,"rundll32 advpack,LaunchINFSection %17%\Roex.inf,Postlogon" [Postlogon.AddReg] HKLM,"%RunOnceEx%",,0x00000012 HKLM,"%RunOnceEx%",Title,0x00000000,"Windows Update" HKLM,"%RunOnceEx%",Flags,0x00010001,0x00000020 HKLM,"%RunOnceEx%\Post_1",,,"BTS DriverPacks" HKLM,"%RunOnceEx%\Post_1",1,,"%24%\DPsFnshr.exe" HKLM,"%RunOnceEx%\Post_2",,,"Windows Post-Install Wizard" HKLM,"%RunOnceEx%\Post_2",1,,"%222%\WPI\WPI.hta" [Postlogon.Run] "%11%\rundll32.exe %11%\iernonce.dll,RunOnceExProcess" [strings] cdname = "AIO" cdtagfile = "\AIO.ICO" RunOnceEx = "SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx" As you can see I run RunOnceEx twice at logon. I did this in the hope that setup would find the root of the disc at the end of the installation. Well I was wrong it now looks at %Systemroot%\system32\unknown\WPI\WPI.hta I also changed the variable agian to a random number (222) to see if that would help. Obviously not! I'm gonna change this back to 01 and see what happens. Apart from this idea I'm not really sure what to do next . Edit: Sorry next time I'll read more carefully: HKLM,"%RunOnceEx%\Setup_2",1,,"%01%\..\WPI\WPI.hta" I didn't see the one up dots the first time I looked. Problem solved, thanks Delprat.
-
Update: No this doesn't work. I'm testing a workaround, if it works I'll post it. Also, if you hate $OEM$ folders like me, just add your inf to sysoc.inf to run during setup. I use an addon to do this but you could do it manually.
-
@Pgase Colour flag is much better, thanks. This theme just keeps getting better and better .
-
Thanks guys I'll give it ago later
-
I've come across a problem whilst using this method. I'm installing Windows XP from a multi-boot disc. I have an inf that uses runonceex to finalise the BTS Driverpacks then execute WPI from %CDROM%\WPI\WPI.hta. My setup source/boot folder is %CDROM%\IXPP\. When runonceex is finally run at logon it fails to find WPI because it's looking in %CDROM%\IXPP\WPI\WPI.hta. Is there any way to force it to look at the root of the disc instead of the boot folder? Heres my existing inf: [Version] Signature=$CHICAGO$ [Optional Components] Presetup [Presetup] OptionDesc = "Presetup" Tip = "Presetup" Modes = 0,1,2,3 AddReg = Presetup.AddReg [Setup] OptionDesc = "Setup" Tip = "Setup" Modes = 0,1,2,3 AddReg = Setup.AddReg [SourceDisksNames] 1 = %cdname%,%cdtagfile%,,"" [Presetup.AddReg] HKLM,"%RunOnceEx%",,0x00000012 HKLM,"%RunOnceEx%",Flags,0x00010001,0x00000080 HKLM,"%RunOnceEx%\Presetup_1",1,,"rundll32 setupapi,InstallHinfSection Setup 128 %17%\Roex.inf" [Setup.AddReg] HKLM,"%RunOnceEx%",,0x00000012 HKLM,"%RunOnceEx%",Title,0x00000000,"Windows Update" HKLM,"%RunOnceEx%",Flags,0x00010001,0x00000020 HKLM,"%RunOnceEx%\Setup_1",,,"BTS DriverPacks" HKLM,"%RunOnceEx%\Setup_1",1,,"%24%\DPsFnshr.exe" HKLM,"%RunOnceEx%\Setup_2",,,"Windows Post-Install Wizard" HKLM,"%RunOnceEx%\Setup_2",1,,"%1%\WPI\WPI.hta" [strings] cdname = "AIO" cdtagfile = "\AIO.ICO" RunOnceEx = "SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx" Thanks.
-
You geek . I just messed with other peoples scripts and read the manual! Oh, and I do cheat abit by using a script generator first and then tidy it up and add features. I think you'll be the one dishing out the advice soon. Happy scripting.
-
@gyrene2083 You got it! @rado354 Didn't meen to be treadin' you buddy
-
Check out AutoIt here. Its's very usefull when installers don't have silent switches (and more). I'd suggest anyone seriously into unattended installations to get used to using it, your gonna need it sooner or later. Anyway this is what you need to do: - Install AutoIt - Redownload my Foxit.au3 from this post - Download foxitreader_setup.exe. - Put my Foxit.au3 and foxitreader_setup.exe in the same dir - Right click Foxit.au3 and click "Compile" Your done. Now you have an AutoIt wrapped installer.
-
Fair enough, just trying to be helpfull!
-
The important thing, ...you have the choice. True. It wasn't very kind of me to be so critical without atleast giving you some suggestions on how to improove it, so here it is. If it can be done. Make the coloured flag the same size as the white one and add some transparency to it, that should softening the edges abit. Keep up the good work.
-
I hate to say it but I think you had the right idea with the white flag. This coloured flag version just doesn't sit well with me .
-
Thanks guys. @soporific To be fair I've been nickin bits from your seven years later project to use for my own ends. I think your right and for now I'll just make my life easier and copy the updates to hdd and run them from there. Some times I just create ways to be difficult . Thanks again.
-
This has been doing my head in for the last few days ! I know I can do this with XP but I want to deploy the same idea with 98SE and ME. I'm running setup from hard disc but I want to run a couple of updates via RunOnceEx from the original source disc (my multiboot disc) during the final stages. I've managed to get RunOnceEx to run when I want it to by tacking my settings on the end of msbatch.inf. My only problem is it never finds the disc, only the hard disc setup dir (C:\win98 or C:\win9x). I know that the SourceDisksNames section differs betwean 9x and NT OS's (and more so with XP) because as far as I can see 9x OS's don't use a tag file, just the disc label as ref. Heres a snip from my msbatch.inf for ME: ... [Install] AddReg=ROEx [SourceDisksNames] 1="AIO",AIO,, ;1=disk name (disc label in xp),disk label (tag file in xp),(unused in xp),path [ROEx] HKLM,"%RunOnceEx%",,0x00000012 HKLM,"%RunOnceEx%",Title,0x00000000,"Windows Update" HKLM,"%RunOnceEx%",Flags,0x00010001,0x00000020 HKLM,"%RunOnceEx%\ROEx1",,,"Unofficial Service Pack 2.0.2" HKLM,"%RunOnceEx%\ROEx1",1,,"%1%\ROEx\MEsp202.exe /q" HKLM,"%RunOnceEx%\ROEx2",,,"DirectX 9c" HKLM,"%RunOnceEx%\ROEx2",1,,"%1%\ROEx\DX9c.exe" HKLM,"%RunOnceEx%\ROEx3",,,"Windows Media Player 9" HKLM,"%RunOnceEx%\ROEx3",1,,"%1%\ROEx\WMP9.exe" HKLM,"%RunOnceEx%\ROEx4",,,"Internet Explorer 6 SP1" HKLM,"%RunOnceEx%\ROEx4",1,,"%1%\ROEx\IE6.exe" [strings] RunOnceEx = "SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx" So my question is, has anyone managed to get this to work under 9x or should I just forget it? Thanks.
-
Thanks alot, updating now.
-
Found another bug! If I try to set my resolution in version 5.4 I get an error when starting WPI. Somthing like "cannot find "Tools\ResChange.exe"". ResChange is definatly there so is there a piece of code I can change to get this to work again. I have wpi.ico in the same dir as wpi.hta to set the %wpipath% variable and the full path to the dir containing wpi has no spaces in it. Hope it helps. Thanks
-
I'm quite picky about themes but I have to say this is great. You've taken the good bits from various themes and rolled them all in to one. Fantastic . I hope this eventually makes it in to xpize.
-
Thanks for your reply, I've covered most of the things you've suggested last night including checking my source disk (with a standard install), boot sector and recopying the win98 dir to HDD. Still no go. Something I have found is that even though windows bugs out (which is after second restart by-the-way) I can restart and get in to safe mode, odd! I'm gonna try afew more things and get back to you. Edit: Sorry soporific, I've wasted your time. This is a VMware issue, I've just tested in VirtualPC and all works fine. People can say what they like about M$ but atleast it bloody works. More over is flippin free . Anyway, I'm a prat! Looking back I didn't state that I was testing in VMware. I'll think before I post next time . Thanks for your help anyway. I'm gonna start on integrating your Seven Years Later project into my multi-boot disc now, so you'll probably hear from me again. Hopefully with better questions next time.
-
Sorry buddy, my problem is more general. I started looking of an answer to a problem I have with adding 98SE to my multi-boot. This was the only topic I found that related to my problem. So, any ideas why a vanilla, OEM version of SE would cause this problem when executed from CDShell? Any help would be appriciated. Keep up the good work.
-
I get this exact problem when running win98 from my multiboot disc. Has any one got any ideas? Could it be a CDImage setting? I very rarly use Win98 anymore so be gentle if this is a stupid question! Cheers.
-
@Spiritpyre You may need to change your download provider buddy. All your links are dead!
-
Can we replase cmdow.exe with the cmdhide.exe v1.3
kof94 replied to arabianhorse's topic in Windows Post-Install Wizard (WPI)
I use Hidec, it's much better than cmdow and cmdhide. You never see the command window flashing and it waits for the command to finish before exiting. And as far as I know it doesn't set off any AV's, well not with my experience anyway. Thats my two pence anyway! Cheers