easly89 Posted November 19, 2010 Author Share Posted November 19, 2010 You want start FirstLog.cmd before WPI.exe (with SetupComplete.cmd) or after?Unattended Windows Setup Reference for Windows 7.chmSynchronousCommandSynchronousCommand specifies a command to run the first time a user logs on to the computer, its description, and the order in which it is run. FirstLogonCommands are run after logon but before the user sees the desktop. If you create a user account that does not include administrative privileges, the following commands may not be executed:If User Account Control is enabled, then when that user logs in for the first time, a dialog box appears, prompting the user with an option to allow an administrator to apply the commands. If the user selects Cancel, these commands are not executed.If User Account Control is disabled, these commands are not executed.I want to start it after SetupComplete.cmd so exactly i want it to run the first time a user logs on to the computer and it does, but there is that cmd windows that stays there forever and i don't know how to get rid of it.. Link to comment Share on other sites More sharing options...
ricktendo Posted November 19, 2010 Share Posted November 19, 2010 Google "self delete batch file" and add that command in your setupcomplete.cmdBTW I call WPI with my autounattend.xml, it much better <FirstLogonCommands> <SynchronousCommand wcm:action="add"> <CommandLine>cmd /c 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:\wpi\wpi.exe start %i:\wpi\wpi.exe</CommandLine> <Description>Windows Post Install Wizard</Description> <Order>9</Order> <RequiresUserInput>false</RequiresUserInput> </SynchronousCommand> </FirstLogonCommands> Link to comment Share on other sites More sharing options...
myselfidem Posted November 19, 2010 Share Posted November 19, 2010 (edited) You can use with WPI "ExecuteAfter" and the FirstLog.cmd will be executed at last with WPI! Edited November 19, 2010 by myselfidem Link to comment Share on other sites More sharing options...
easly89 Posted November 19, 2010 Author Share Posted November 19, 2010 Google "self delete batch file" and add that command in your setupcomplete.cmdBTW I call WPI with my autounattend.xml, it much better <FirstLogonCommands> <SynchronousCommand wcm:action="add"> <CommandLine>cmd /c 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:\wpi\wpi.exe start %i:\wpi\wpi.exe</CommandLine> <Description>Windows Post Install Wizard</Description> <Order>9</Order> <RequiresUserInput>false</RequiresUserInput> </SynchronousCommand> </FirstLogonCommands>well i'll try this then!thx for the answer, i'll report the results asap Carlo Link to comment Share on other sites More sharing options...
Kelsenellenelvian Posted November 19, 2010 Share Posted November 19, 2010 Put the following at the top, (Modify the values of course), and it will resize that cmd window to what ever small size you want.Then it is less noticable.Edit: "mode con: cols=14 lines=1" is the smallest you can go on win7mode con: cols=100 lines=10 Link to comment Share on other sites More sharing options...
myselfidem Posted November 20, 2010 Share Posted November 20, 2010 (edited) About VirtualBox silent install, you can find some help here:http://forums.virtualbox.org/viewtopic.php?f=6&t=21127http://www.appdeploy.com/packages/detail.asp?id=1425*Edit:About Windows Live essentials Standalone silent installRename the file as wlsetup-all.exe and you can use:WLSetup-all.exe /q /NOToolbarCEIP /NOhomepage /Nolaunch /nosearch /AppSelect:Moviemaker,Mail,Messenger,WriterYou can add applications you want install!http://www.appdeploy.com/messageboards/tm.asp?m=45828*Edit 2:http://support.microsoft.com/kb/943595/en-us Edited November 20, 2010 by myselfidem Link to comment Share on other sites More sharing options...
easly89 Posted November 20, 2010 Author Share Posted November 20, 2010 Hello guys, thanks for the answers!Now i'm trying again my iso, we'll see if this will do Link to comment Share on other sites More sharing options...
myselfidem Posted November 20, 2010 Share Posted November 20, 2010 (edited) I've made many tests to try the silent installation with WPI for Windows Live Essentials Standalone!If I use this command on my computer, works fine, but don't work with WPI. Only the first program is intalled.@echo offcmd /C C:\WLSetup-all.exe /q /NOToolbarCEIP /NOhomepage /Nolaunch /nosearch /AppSelect:Messenger,Mail,Moviemaker,Writer,OlcexitIf I use this command all is fine and the complete package is installed:cmds[pn]=['"%wpipath%\\Install\\WLive\\wlsetup-all.exe" /silent']; Edited November 20, 2010 by myselfidem Link to comment Share on other sites More sharing options...
easly89 Posted November 20, 2010 Author Share Posted November 20, 2010 good to know, i was tight about to post again about that silent switch not working thanks really i still have problems with the install of Daemon Tools for the gadget and VirtualBox with the usb driversif someone can help I appreciate Carlo Link to comment Share on other sites More sharing options...
myselfidem Posted November 21, 2010 Share Posted November 21, 2010 (edited) For Windows Live Essentials Standalone with WPI!You can first search with Google an localised version!It's needed to use WPI to insert the command, because the comma "," is write %comma% to separate the programs inside the same command for the silent installation!! No try to insert the command manually inside "config.js" (It was my error)!If you want install only the components you want with Windows Live, the command is like this and works fine:cmds[pn]=['"%wpipath%\\Install\\WLive\\wlsetup-all.exe" /q /NOToolbarCEIP /NOhomepage /Nolaunch /nosearch /AppSelect:Messenger%comma%Mail%comma%Moviemaker%comma%Writer%comma%Silverlight];With my French version all is installed perfectly with the programs I've choosen!Return Code WPI = 0 (success)! Edited November 21, 2010 by myselfidem Link to comment Share on other sites More sharing options...
easly89 Posted November 21, 2010 Author Share Posted November 21, 2010 For Windows Live Essentials Standalone with WPI!You can first search with Google an localised version!It's needed to use WPI to insert the command, because the comma "," is write %comma% to separate the programs inside the same command for the silent installation!! No try to insert the command manually inside "config.js" (It was my error)!If you want install only the components you want with Windows Live, the command is like this and works fine:cmds[pn]=['"%wpipath%\\Install\\WLive\\wlsetup-all.exe" /q /NOToolbarCEIP /NOhomepage /Nolaunch /nosearch /AppSelect:Messenger%comma%Mail%comma%Moviemaker%comma%Writer%comma%Silverlight];With my French version all is installed perfectly with the programs I've choosen!Return Code WPI = 0 (success)!I used /silent (for me its ok to install the entire suite )Thanks anyway, it could be usefull for anyone else or for other ppl who has errors with other things with the "comma" For Daemon's gadget and Vbot USB Drivers any news? Link to comment Share on other sites More sharing options...
myselfidem Posted November 21, 2010 Share Posted November 21, 2010 (edited) For Daemon Tools you can use "search" inside the forum:http://www.msfn.org/board/topic/60661-daemon-tools-4-released/page__st__20 Edited November 21, 2010 by myselfidem Link to comment Share on other sites More sharing options...
easly89 Posted November 21, 2010 Author Share Posted November 21, 2010 (edited) For Daemon Tools you can use "search" inside the forum:http://www.msfn.org/board/topic/60661-daemon-tools-4-released/page__st__20I searched for Daemon Tools and VirtualBox in the entire forum, and as u point out, I didn't find anything usefull for my problem unfortunately infact both installation are good and completely silent, the problem lies on their "addons" (DT.gadget and USB Drivers) which Windows recognize as Unsecure and prompts for confirmation before installSry for my english, if the problem i'm getting is still not clear i'll post some screens of what happensCarloEDIT:here are my "problems" Edited November 21, 2010 by easly89 Link to comment Share on other sites More sharing options...
ricktendo Posted November 21, 2010 Share Posted November 21, 2010 (edited) I already told you how to stop the driver problem with virtual boxUse RegShot or InstallWatch to take a snapshot before you install the application for the first time, when installing check the box that says always trust sun microsystems inc, after install is done use regshot or installwatch again to see what changes were made to the registryYou are looking for a key like this one (this is not yours, its for ConvertXToDVD pcsetup)HKLM\SOFTWARE\Microsoft\SystemCertificates\TrustedPublisher\Certificates\819F379315E0882C052B30F7E4E43310B472CD65Go to that location in your registry editor and export that new key...before you install next time apply that reg and you will not get that popup again exampleregedit /s Trust.regvirtualbox.msi /qn Edited November 21, 2010 by ricktendo64 Link to comment Share on other sites More sharing options...
easly89 Posted November 21, 2010 Author Share Posted November 21, 2010 I already told you how to stop the driver problem with virtual boxUse RegShot or InstallWatch to take a snapshot before you install the application for the first time, when installing check the box that says always trust sun microsystems inc, after install is done use regshot or installwatch again to see what changes were made to the registryYou are looking for a key like this one (this is not yours, its for ConvertXToDVD pcsetup)HKLM\SOFTWARE\Microsoft\SystemCertificates\TrustedPublisher\Certificates\819F379315E0882C052B30F7E4E43310B472CD65Go to that location in your registry editor and export that new key...before you install next time apply that reg and you will not get that popup again exampleregedit /s Trust.regvirtualbox.msi /qnThanks!I resolved the Vbox issue now is installing without any prompt now only Daemon Tools is left .. hope that someone can help with that Carlo 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