myselfidem
Content Type
Profiles
Forums
Events
Posts posted by myselfidem
-
-
As anybody can see, I'm dealing quiet a long time now with the problem that WPI won't start after Unattended installation. (Created with 7Customizer)
I'm trying to launch WPI after unattended install of Windows 7 but it just won't launch!
This is what I do:
I use the script in "sources\$oem$\$$\install\scripts\setupcomplete.cmd" to launch WPI.
After I made the Image (also with 7Customizer) (and tried a billion other ways) everything is just fine.
When I install it in virtual machine under Vista or under Windows 7, it installs just fine. No problems with the total unattended install.
But here comes the problem: WPI still won't start. And then when I navigate (in the virtual installation) to the ISO image and then navigate to my setupcomplete.cmd and view it, there al all weird symbols in it???? so in the ISO before installation everything is fine with the setupcomplete.cmd but not when Windows 7 is installed.
Why will WPI won't start and what is going on with the setupcomplete.cmd?
Can somebody give me detailled information?
excuse me for my poor English.....and thanks for any reply.
Maybe you have made a mistake in your post,
but the folder SCRIPTS is in
\sources\$OEM$\$$\SETUP\SCRIPTS
and inside is SetupComplete.cmd
and also if you use WPI.bat
0 -
@nice_guy75
Maybe you can find some help here:
http://support.microsoft.com/kb/929828
---------------------------------------------------------------------------------
"Run the Slmgr.vbs script in an elevated Command Prompt window. For example,
run cscript
c:\windows\system32\slmgr.vbs –rearm.
Note Administrative credentials are required to run the Rearm process.
The Rearm process can be run a maximum of three times in a Windows Vista image.
---------------------------------------------------------------------------------
I think it is available for Windows 7.
You can try also, in an elevated Command Prompt window:
slmgr
And you can see all the options.
J have a french version, but you can see the options in yellow color.
See attachments.
J hope that will help you!
0 -
@nice_guy75
Maybe, you can test this method and keep the activation of your copy.
First validate your copy of Windows 7.
After copy/paste the file "tokens.dat" in the folder SCRIPTS of your installation source.
And make a bath file nammed "active.bat"
active,bat
------------------------------------------------------
@echo off
:: Install the product key and keep activation
TAKEOWN /F %SystemDrive%\Windows\System32\cmd.exe
net stop sppsvc
DEL /Q "%SystemDrive%\Windows\ServiceProfiles\NetWorkService\AppData\Roaming\Microsoft\SoftwareProtectionPlatform\Tokens.dat"
COPY /Y "%~dp0tokens.dat" "%SystemDrive%\Windows\ServiceProfiles\NetWorkService\AppData\Roaming\Microsoft\SoftwareProtectionPlatform\"
net start sppsvc
cscript %systemroot%\System32\slmgr.vbs -ipk XXXXX-XXXXX-XXXXX-XXXXX-XXXXX (key Windows 7)
cscript %systemroot%\System32\slmgr.vbs -dli
cscript %systemroot%\System32\slmgr.vbs -ato
EXIT
--------------------------------------------------------
In the SetupComplete.cmd, add
SetupComplete.cmd
---------------------------------------------------------
@echo off
start /WAIT %~dp0Active.bat
exit
--------------------------------------------------------
If you want hide the process of the batch, you can use this script
active.vbs
-----------------------------------------------------------
Set WshShell = WScript.CreateObject("WScript.Shell" )
WshShell.Run "%SystemRoot%\Setup\Scripts\activel.bat" ,SH_WIDE ,true
-----------------------------------------------------------
And put the key in Autounattend.xml
I have installed Windows 7 many times wihtout any problem.
You can find some help here:
http://www.mydigitallife.info/2009/09/24/h...e-on-reinstall/
0 -
OK, fine. Thank you.
0 -
@jtrue28
I have just downloaded successfully 7Customizer.
You can try to delete history, cookiees in the options internet,
and in command prompt:
ipconfig /flushdns
After try to download again the software.
J hope that will help you!
0 -
@Haxelon
J have read your message, and I hope to give you some help.
I also use RunOnceEx method with Windows 7 succesfully. All programs you see here are installed succesfully.
I prefere copy the programs on the HDD for the installation and after I delete the folder "Install".
Here is my SetupComplete.cmd
SetupComplete.cmd
------------------------------------------------------------------
::TITLE Windows 7 Edition Intégrale 32 bits - Méthode RunOnceEx for silent install
REG ADD HKLM\Software\Microsoft\Windows\CurrentVersion\RunOnceEx
SET KEY=HKLM\Software\Microsoft\Windows\CurrentVersion\RunOnceEx
REG ADD %KEY% /V TITLE /D "Installation des applications" /f
REG ADD %KEY%\005 /VE /D "Activation Windows 7 Ultimate" /f
REG ADD %KEY%\005 /V 1 /D "%systemroot%\Setup\Scripts\active.vbs" /f
REG ADD %KEY%\010 /VE /D "Personnalisation Tweaks du registre" /f
REG ADD %KEY%\010 /V 1 /D "REGEDIT /S %systemroot%\Setup\Scripts\Tweaks.reg" /f
REG ADD %KEY%\015 /VE /D "Installation ATI Display Driver" /f
REG ADD %KEY%\015 /V 1 /D "%systemdrive%\Install\ATIDriver\Setup.exe -INSTALL" /f
REG ADD %KEY%\020 /VE /D "Installation Realtek R239" /f
REG ADD %KEY%\020 /V 1 /D "%systemdrive%\Install\Realtek\Setup.exe -s "-f1%systemdrive%\Install\Realtek\setup.iss"" /f
REG ADD %KEY%\025 /VE /D "Installation Office Standard 2007" /f
REG ADD %KEY%\025 /V 1 /D "%systemdrive%\Install\Office\SETUP.EXE /config %systemdrive%\Install\Office\STANDARDR.WW\CONFIG.XML" /f
REG ADD %KEY%\030 /VE /D "Installation JAVA SUN" /f
REG ADD %KEY%\030 /V 1 /D "%systemdrive%\Install\Java\jre-6u17-windows-i586-s.exe /s /v "/qn"" /f
REG ADD %KEY%\035 /VE /D "Installation Adobe Flash Player 10 ActiveX" /f
REG ADD %KEY%\035 /V 1 /D "%systemdrive%\Install\Flash\install_flash_player_10_active_x.exe /s" /f
REG ADD %KEY%\040 /VE /D "Installation Adobe Reader 9.2.0" /f
REG ADD %KEY%\040 /V 1 /D "%systemdrive%\Install\Adobe\AdbeRdr920_fr_FR.exe /sAll /rs" /f
REG ADD %KEY%\045 /VE /D "Installation Adobe Reader 9.2.0 eula" /f
REG ADD %KEY%\045 /V 1 /D "REGEDIT /S %systemroot%\Setup\Scripts\Adobe.reg" /f
REG ADD %KEY%\050 /VE /D "Installation TuneUp 2008 Key" /f
REG ADD %KEY%\050 /V 1 /D "REGEDIT /S %systemroot%\Setup\Scripts\TuneUp.reg" /f
REG ADD %KEY%\055 /VE /D "Installation TuneUp Utilities 2008" /f
REG ADD %KEY%\055 /V 1 /D "%systemdrive%\Install\TuneUp\TU2008TrialFR.exe /qn /norestart" /f
REG ADD %KEY%\060 /VE /D "Installation WinRar 390" /f
REG ADD %KEY%\060 /V 1 /D "%systemdrive%\Install\WinRar\wrar390fr.exe /S" /f
REG ADD %KEY%\065 /VE /D "Installation WinRar 390 Key" /f
REG ADD %KEY%\065 /V 1 /D "REGEDIT /S %systemroot%\Setup\Scripts\rarreg.key" /f
REG ADD %KEY%\070 /VE /D "Installation Movie Maker 2.6" /f
REG ADD %KEY%\070 /V 1 /D "msiexec.exe /i "%systemdrive%\Install\MovieMaker\MM26_FR.msi" /qn" /f
REG ADD %KEY%\075 /VE /D "Finalisation de l'installation" /f
REG ADD %KEY%\075 /V 1 /D "%systemroot%\Setup\Scripts\clean.vbs" /f
EXIT
---------------------------------------------------------------------------
You can see when you want install a msi file, you must use msiexec.exe.
I use two vbs scripts for hide the batch, you can tray it
Clean.vbs
--------------------------------------------
Set WshShell = WScript.CreateObject("WScript.Shell" )
WshShell.Run "%SystemRoot%\Setup\Scripts\clean.bat" ,SH_WIDE ,true
--------------------------------------------
Clean.bat
---------------------------------------------
@echo off
RMDIR /S /Q %systemdrive%\Install
EXIT
--------------------------------------------
Put all these scripts into the folder SCRIPTS.
You can see the attachment here.
Good luck!
0 -
@crunch81
I don't use WPI with Windows 7, but J have tested for give you somme help.
I have used with Windows XP. For Windows 7, J use RunOnceEx method and 7Customizer.
But WPI is really interesting and useful.
I have tested on the HDD and not with a virtual machine.
You can try this method, J've tested succefully.
You don't need to add anything more in the Auntounattend .xml file.
In the folder \sources\$OEM$\$$\SETUP\SCRIPTS
Create a batch file named "WPI.bat" (you can copy/paste this script):
In your "WPI.bat"
------------------------------------------------------------------
@echo off
TAKEOWN /F %SystemDrive%\Windows\System32\cmd.exe
FOR %%i IN (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:\sources\install.wim
SET CDROM=%%i:
start /Wait %CDROM%\WPI\WPI.exe
exit
---------------------------------------------------------------------------
And in your "SetupComplete.cmd"
---------------------------------------
@echo off
start /Wait %~dp0WPI.bat
exit
----------------------------------------
Use only the files in "WPI.rar" with the WPI.exe.
And remenber that some softwares needs to be copied on the HDD for their installation.
Good luck and enjoy.
0 -
@blue4603
Thank you for the feedback.
0 -
@rafolb
If you want create a shortcut during Windows 7 unattended install, you can make a batch file or a vbs file.
More help here:
http://ss64.com/nt/shortcut.html
An exemple with a vbs file for notepad in French. Rename the file in vbs.
NotepadShorcut.vbs
-------------------------------------------------------------------------------------------
' CreateShortCut.vbs - Create a Desktop Shortcut.
' VBScript to create .lnk file
' ----------------------------------------------------------'
Option Explicit
Dim objShell, objDesktop, objLink
Dim strAppPath, strWorkDir, strIconPath
' --------------------------------------------------
' Here are the variables that to change if you are making a 'real' script
strWorkDir ="%HOMEDRIVE%%HOMEPATH%"
strAppPath = "%windir%\system32\notepad.exe"
strIconPath = "%windir%\system32\notepad.exe, 0"
Set objShell = CreateObject("WScript.Shell")
objDesktop = objShell.SpecialFolders("Desktop")
Set objLink = objShell.CreateShortcut(objDesktop & "\notepad.lnk")
' ---------------------------------------------------
' Section which adds the shortcut's key properties
objLink.Description = "Créez et modifiez des fichiers texte en utilisant des fonctions de formatage de base."
objLink.HotKey = "CTRL+ALT+X"
objLink.IconLocation = strIconPath
objLink.TargetPath = strAppPath
objLink.WindowStyle = 1
objLink.WorkingDirectory = strWorkDir
objLink.Save
WScript.Quit
' End of creating a desktop shortcut
--------------------------------------------------------------------------
I hope that will help you.
0 -
Some help here for delete folder with permission.
Also, you can try in command prompt: TAKEOWN /? or /HELP
Here is a reg in attachment.
Other help.
http://www.howtogeek.com/howto/windows-vis...-menu-in-vista/
Regards.
0 -
Hello.
Some help here:
http://support.microsoft.com/kb/308421/en-us
You can also change the file texte for a reg file at the attachment.
Regards
0 -
I suggest a solution for those are making some modifications.
If you change the language in the "bootorder.txt" with your current language, you have an error when you make the iso file.
"Could not find boot.wi" or other text.
Take care when you make this opération to "just" add only one space after the last line:
sources\boot.wim and save the file.
You can see the attachments.
Image Capture.PNG modifications made in "bootorder.txt" with one space.
Image Capture3.PNG iso file with error
Image Capture1.PNG iso file with no error
Thank you.
0 -
Thank you for this program. 7Customizer is really excellent. I notice just something stange during the creation of the image iso. It is needed \sources\boot.wi.
I don't understand why the folder boot.wi is needed, because boot.win is in the folder sources?
Thank you for the answer. I send the image and the log.txt. In this one, there is no problem. 7Customiuer a replacement for vlite for windows 7
0
What do I have to change in this XML file?
in Windows Post-Install Wizard (WPI)
Posted
It seems not really useful. SetupComplete.cmd gives Admin rights.
But in other cases I was obliged to use.
Excuse my bad English.
Thanks