ganeshmms Posted December 4, 2005 Share Posted December 4, 2005 Hello Benjamin, I am relatively new to unattended setup, in particular to WIHU. I have done some experiments with WIHU, and it seems to be anideal utility to run after a full unattended setup, especially forchanging 'Registered Owner' name, creation of new accounts, andcontinue installing favorite applications. Thanks very much for offering the neat tool.I have a couple of basic questions on invocation of wihu that I felt was not addressed in the help page (http://www.kalytta.com/wihu.manual.php)which I browsed some time ago. Where the command line that invokes wihu.exe should be placedin the unattended setup process for installing applications from CD?I have guess on this. As the name suggests (post installation), I felt that the command-line should be placed such that wihu.exe is invoked during first logon directly from CD. An example script would be$OEM$\CmdLines.txt[COMMANDS]wihu_start.cmd$OEM$\start_wihu.cmd (pseudocode only)cmdow @ /HID@echo offfor %%I in (C D ... Z) do if exist %%I:\WIN51 set CDROM=%%I:SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceREG ADD %KEY% /V WIHU /D "%CDROM%\BasicApps\wihu.exe" /fexitwhere all application installation EXEs are placed in the folder tree with%CDROM%\BasicApps folder as root.I hope I am right? I felt calling wihu through CmdLine.txt is better since it runs as asystem service as opposed to 'logged on user service' in the case of '[GuiRunOnce]'part of winnt.sif. [From ref.chm of xp tools deploy.cab]Such an invocation clearly makes wihu run during first logon.However I am begining to get doubts on my understanding after I read a post[Wihu CreateProcess] that mentioned something about running wihu during T-12 minute stage of XP setup. I am not clear about it. Can wihu be invoked by GUI setup process during T-12? Should not all applications be installed only after first logon into some account?Could someone throw some light please?Thanks very muchGanesh Link to comment Share on other sites More sharing options...
BenjaminKalytta Posted December 7, 2005 Share Posted December 7, 2005 (edited) If WIHU is called at T-12, there are some restrictions. "System" account is used for application install which means:1. Every registry change goes to Default user profile2. Some applications which requires administrator privileges don't workThis also means, you can infact create new user accounts during T-12, but you can't set a primary user i.e. you can't run your setup's under one of this newly created user accounts.So I would recommend to start Wihu in [GuiRunOnce] section. Edited December 7, 2005 by BenjaminKalytta Link to comment Share on other sites More sharing options...
ganeshmms Posted December 7, 2005 Author Share Posted December 7, 2005 Thanks very much for the clarification.Ganesh 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