midiboy Posted August 8, 2004 Share Posted August 8, 2004 Hi Benjamin,Currently Im trying to fix some bugs which I found after modifying WIHU last time yesterday. May be this evening or tomorrow I'll present you a new version.Yeah, I think I found a bug. Currently, DefaultHome variable in Environment section of install.ini is not working.I have set it like this:[Environment]Personal=D:\%ThisUser%DefaultHome=%Personal%but it does not appear under "Basisordner" anymore ( see pic ) and seemingly it is not being used because after the new installation, homepath und homedrive still point to C:\Dokumente und Einstellungen.I'll of course mention you on my web pageThanks, I hope there will be a lot of names to mention there ! Bye,Alex Link to comment Share on other sites More sharing options...
midiboy Posted August 8, 2004 Share Posted August 8, 2004 @Booster:I may be mistaken but I think Wihu is not a tool to be called at this early stage in a Windows installation. The reason for this is the fact that Wihu is not fully automatic installing or adding users. There is some user input required so I would call it semiqutomatic. I guess there are two ways to call Wihu. ( there may be more but those 2 come to mind currently ):1. Calling Wihu after Administrator login instead of using the runonceex process.This means that you call Wihu in runonceex.cmd (which is called in cmdlines.txt) and use it to install your software semiautomatic.2. Calling Wihu after the runonceex process finished and right before Windows Installation is over.This means that you also call Wihu in runonceex.cmd but at the end of the installation process just to add additional software to install or add users.I do it like this:I install all my necessary programs using runonceex so they get installed first, then, after cleanup I call Wihu to add users. That way, all my programs are installed and Wihu is the end of the installation process.I may add Software which I don´t want installed on all PC´s to Wihu because with Wihu it is possible to choose which software is getting installed but currently I am not doing this.So my installation looks like this:cmdlines.txt[COMMANDS]"REGEDIT /S regtweaks.reg""REGEDIT /S computertweaks.reg""REGEDIT /S RunOnceUser.reg""RunOnceEx.cmd""RunOnceUser.cmd"RunOnceEx.cmdcmdow @ /HID@echo offSET CDROM=%CD:~0,2%SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceExREG ADD %KEY% /V TITLE /D "Installiere Anwendungen" /fREG ADD %KEY%\001 /VE /D "Chipsatztreiber Installationsversuch" /fREG ADD %KEY%\001 /V 1 /D "%SYSTEMDRIVE%\install\Intel\Setup.exe -INTELIDE -s" /fREG ADD %KEY%\001 /V 2 /D "%SYSTEMDRIVE%\install\Via\Setup.exe -s" /fREG ADD %KEY%\006 /VE /D "Microsoft NET Framework 1.1" /fREG ADD %KEY%\006 /V 1 /D "%SYSTEMDRIVE%\install\Framework\netfx.msi /qb" /fREG ADD %KEY%\016 /VE /D "Diverse Microsoft Powertoys" /fREG ADD %KEY%\016 /V 1 /D "%SYSTEMDRIVE%\install\TweakUI.msi /qn" /fREG ADD %KEY%\016 /V 2 /D "%SYSTEMDRIVE%\install\SlideshowPowertoySetup.exe /s /v\"ALLUSERS=2 /qn\"" /fREG ADD %KEY%\016 /V 3 /D "%SYSTEMDRIVE%\install\HtmlgenPowertoySetup.exe /s /v\"ALLUSERS=2 /qn\"" /fREG ADD %KEY%\016 /V 4 /D "%SYSTEMDRIVE%\install\ImageResizerPowertoySetup.exe /s /v\"ALLUSERS=2 /qn\"" /fREG ADD %KEY%\018 /VE /D "Sun Java 1.4.2.04" /fREG ADD %KEY%\018 /V 1 /D "%SYSTEMDRIVE%\install\java14204.exe /s /v/qn" /fREG ADD %KEY%\019 /VE /D "Winrar 3.3" /fREG ADD %KEY%\019 /V 1 /D "%SYSTEMDRIVE%\install\Winrar\wrar33d_se.exe /s" /fREG ADD %KEY%\022 /VE /D "Ahead Nero 6.3.1.17 inkl. Plugins" /fREG ADD %KEY%\022 /V 1 /D "REGEDIT /S %CDROM%\Setup\Nero\register.reg" /fREG ADD %KEY%\022 /V 2 /D "%CDROM%\Setup\Nero\nero63117.exe /SILENT /NOREBOOT /NO_UI" /fREG ADD %KEY%\022 /V 3 /D "CMD /C copy /Y %CDROM%\Setup\Nero\Plugins\*.dll \"%COMMONPROGRAMFILES%\Ahead\AudioPlugins\\"" /fREG ADD %KEY%\023 /VE /D "Apple Quicktime 6.5" /fREG ADD %KEY%\023 /V 1 /D "%CDROM%\Setup\Quicktime\QuickTimeFullInstaller.exe" /fREG ADD %KEY%\023 /V 2 /D "CMD /C copy /Y %CDROM%\Setup\Quicktime\QuickTime.qtp \"%ALLUSERSPROFILE%\Anwendungsdaten\QuickTime\\"" /fREG ADD %KEY%\023 /V 3 /D "CMD /C copy /Y %CDROM%\Setup\Quicktime\QuickTimeFavorites.qtr \"%ALLUSERSPROFILE%\Anwendungsdaten\QuickTime\\"" /fREG ADD %KEY%\024 /VE /D "Real Player Alternative 1.23 " /fREG ADD %KEY%\024 /V 1 /D "%CDROM%\Setup\RealAlternative\realalt123.exe /VERYSILENT /SP-" /fREG ADD %KEY%\027 /VE /D "Microsoft Office 2003 Pro inkl. SP1" /fREG ADD %KEY%\027 /V 1 /D "%CDROM%\Setup\Office2003\SETUP.EXE TRANSFORMS=%CDROM%\Setup\Office2003\UNATTEND.MST /qb-" /fREG ADD %KEY%\028 /VE /D "Adobe Reader 6.02" /fREG ADD %KEY%\028 /V 1 /D "%CDROM%\Setup\Adobe\Reader.msi /qn" /fREG ADD %KEY%\028 /V 2 /D "%CDROM%\Setup\Adobe\Update_602.exe /S /v/qn" /fREG ADD %KEY%\029 /VE /D "Adobe Reader Speedup 1.28" /fREG ADD %KEY%\029 /V 1 /D "%CDROM%\Setup\AR_Speedup\ReaderSpeedUp.exe" /fREG ADD %KEY%\031 /VE /D "Macromedia Flash und Shockwave Player" /fREG ADD %KEY%\031 /V 1 /D "%CDROM%\Setup\Player\Shockwave_Installer_Full.exe /s" /fREG ADD %KEY%\031 /V 2 /D "%CDROM%\Setup\Player\flashplayer7_winax.exe /Q:U /R:N" /fREG ADD %KEY%\032 /VE /D "Winamp 5.0.4 inkl. Plugins" /fREG ADD %KEY%\032 /V 1 /D "%CDROM%\Setup\Winamp\Winamp.msi /qb ini=%CDROM%\Setup\Winamp\winamp.ini" /fREG ADD %KEY%\032 /V 2 /D "CMD /C copy /Y %CDROM%\Setup\Winamp\Plugins\*.dll \"%PROGRAMFILES%\Winamp\Plugins\\"" /fREG ADD %KEY%\032 /V 3 /D "CMD /C copy /Y %CDROM%\Setup\Winamp\Plugins\*.exe \"%PROGRAMFILES%\Winamp\Plugins\\"" /fREG ADD %KEY%\033 /VE /D "Kaspersky Anti-Virus 5.0.149" /fREG ADD %KEY%\033 /V 1 /D "%CDROM%\Setup\Kaspersky\Anti-Virus\kav5.0.149.4_personalde.exe /S" /fREG ADD %KEY%\033 /V 2 /D "CMD /C copy /Y %CDROM%\Setup\Kaspersky\Anti-Virus\000679A5(2005).key \"%PROGRAMFILES%\Kaspersky Lab\Kaspersky Anti-Virus Personal\000679A5(2005).key.yek\"" /fREG ADD %KEY%\034 /VE /D "Sygate Personal Firewall Pro 5.5" /fREG ADD %KEY%\034 /V 1 /D "%CDROM%\Setup\Sygate_Personal_Firewall_Pro\pspf.msi /QB Reboot=Supress" /fREG ADD %KEY%\034 /V 2 /D "REGEDIT /S %CDROM%\Setup\Sygate_Personal_Firewall_Pro\offline.reg" /fREG ADD %KEY%\035 /VE /D "Acronis True Image 8" /fREG ADD %KEY%\035 /V 1 /D "WScript.exe %CDROM%\Setup\TrueImage\install.vbs" /fREG ADD %KEY%\038 /VE /D "Importiere Software Registry Tweaks" /fREG ADD %KEY%\038 /V 1 /D "REGEDIT /S %systemdrive%\softwaretweaks.reg" /fREG ADD %KEY%\039 /VE /D "Temp Dateien entfernen" /fREG ADD %KEY%\039 /V 1 /D "%systemdrive%\cleanup.cmd" /fREG ADD %KEY%\040 /VE /D "Benutzer anlegen und neustarten" /fREG ADD %KEY%\040 /V 1 /D "%CDROM%\Setup\wihu.exe /SkipSoftware /NoCancel /Ds" /fexitHope that helps !Bye,Alex Link to comment Share on other sites More sharing options...
booster Posted August 8, 2004 Share Posted August 8, 2004 thx midiboy I used RunOnceEx.cmd before but like the option to select which programs to install.I will try out your solution to force installation of specific programs (system updates) in RunOnceEx.cmd and then call WIHU in the end. Link to comment Share on other sites More sharing options...
BenjaminKalytta Posted August 8, 2004 Share Posted August 8, 2004 @all: I'll try to fix these bugs as soon as possible.Benjamin Link to comment Share on other sites More sharing options...
visaversa Posted August 8, 2004 Share Posted August 8, 2004 Currently Im trying to fix some bugs which I found after modifying WIHU last time yesterday. May be this evening or tomorrow I'll present you a new version.BenjaminWhat my use concern...no bugs still running smooth... Link to comment Share on other sites More sharing options...
BenjaminKalytta Posted August 8, 2004 Share Posted August 8, 2004 @visaversa: There is a bug I removed combo box control again from first page because it make things complicated ... may be I'll add this in future if I find a better solution.@midiboy: Sorry, I forgot to inform you that DefaultHome should be moved to [users] section in future. It's more logical. PLEASE everyone change this!Benjamin Link to comment Share on other sites More sharing options...
midiboy Posted August 8, 2004 Share Posted August 8, 2004 Hi Benjamin,@midiboy: Sorry, I forgot to inform you that DefaultHome should be moved to [users]section in future. It's more logical. PLEASE everyone change this!mhh, it still does not work though. But maybe I am doing something wrong.This is my install.ini now:[Environment]Personal=D:\%ThisUser%My Video=D:\%ThisUser%\Eigene VideosMy Music=D:\%ThisUser%\Eigene MusikMy Pictures=D:\%ThisUser%\Eigene BilderFavorites=D:\%ThisUser%\Favoriten[users]DefaultHome=%Personal%But it is not working. "Basisordner" in Wihu is still empty.Am I doing something wrong ?Thanks,Alex Link to comment Share on other sites More sharing options...
visaversa Posted August 8, 2004 Share Posted August 8, 2004 @visaversa: There is a bug I removed combo box control again from first page because it make things complicated ... may be I'll add this in future if I find a better solution.@midiboy: Sorry, I forgot to inform you that DefaultHome should be moved to [users] section in future. It's more logical. PLEASE everyone change this!BenjaminOk no prop...can live whit that, there is still the option to make one of the users default user :-)But i would like to exclude the other doh...just as you said But I could add an "Load users" button instead to load entire users list. I think on my second page I can remove temporary environment string control because no one really needs this. Instead I add the ability to load new users. Link to comment Share on other sites More sharing options...
midiboy Posted August 8, 2004 Share Posted August 8, 2004 @booster:I used RunOnceEx.cmd before but like the option to select which programs to install.Mhh, then do it that way ! It should work if you call Wihu in runonceex.cmd at the very top and then do all your installing from within Wihu.You just should NOT call Wihu from cmdlines.txt directly. At least thats what I thought you did before or did I misunderstand you there ?Bye,Alex Link to comment Share on other sites More sharing options...
my2001 Posted August 8, 2004 Share Posted August 8, 2004 @BenjaminWIHU is started at T-13 mark (CMDLINES.TXT)I may be mistaken but I think Wihu is not a tool to be called at this early stage in a Windows installation. The reason for this is the fact that Wihu is not fully automatic installing or adding users. There is some user input required so I would call it semiqutomatic. Really? Please clarify this: Can WIHU A) be run from cmdlines.txt or a batch file called by cmdlines.txt without problems (user creation and all stuff, etc.) and B ) can it be run totally in an automatic way?thx Link to comment Share on other sites More sharing options...
BenjaminKalytta Posted August 8, 2004 Share Posted August 8, 2004 (edited) @all: So I attached new release (please see some postings below) ... and yes midiboy this was a bug which is fixed now.@booster: I'll try to find your problem. Also note, running WIHU under Windows 2000 is not fully possible because of this privilege restriction. Please send me your logfile and may be ini file.Benjamin Edited August 9, 2004 by BenjaminKalytta Link to comment Share on other sites More sharing options...
visaversa Posted August 8, 2004 Share Posted August 8, 2004 I still have a problem with command.9=PowerDVD\Setup.exe-s -f1%SRCDRIVE%\PowerDVD\setup.iss" -f2"%systemdrive%\setup.log.does not work any ideas?EDIT: never mind i solved it...command.9=PowerDVD\Setup.exe-s -f1%SRCDRIVE%\software\PowerDVD\setup.iss" -f2"%systemdrive%\setup.log Link to comment Share on other sites More sharing options...
BenjaminKalytta Posted August 8, 2004 Share Posted August 8, 2004 @visaversa: Please show me your entire ini file.Please specify /verbose switch and save the log with /log=logfile and post it here or mail it to me.Is PowerDVD Folder in WIHU application folder? (It has to be otherwise try command.9=%curdir%\PowerDVD\Setup.exe)Relative folders in WIHU always treated as WIHU application directory relative folders.Benjamin Link to comment Share on other sites More sharing options...
visaversa Posted August 8, 2004 Share Posted August 8, 2004 @visaversa: Please show me your entire ini file.Please specify /verbose switch and save the log with /log=logfile and post it here or mail it to me.Is PowerDVD Folder in WIHU application folder? (It has to be otherwise try command.9=%curdir%\PowerDVD\Setup.exe)Relative folders in WIHU always treated as WIHU application directory relative folders.Benjaminsee above edit...sorry for the post Link to comment Share on other sites More sharing options...
booster Posted August 9, 2004 Share Posted August 9, 2004 @booster:I used RunOnceEx.cmd before but like the option to select which programs to install.Mhh, then do it that way ! It should work if you call Wihu in runonceex.cmd at the very top and then do all your installing from within Wihu.You just should NOT call Wihu from cmdlines.txt directly. At least thats what I thought you did before or did I misunderstand you there ?Bye,Alex I did call it directly from CMDLINES.TXT and If I use "SkipSettings" to not create a user, programs install fine Link to comment Share on other sites More sharing options...
Recommended Posts