MSFN Forum: Tip for running WPI from network-share... - MSFN Forum

Jump to content



  • 3 Pages +
  • 1
  • 2
  • 3
  • You cannot start a new topic
  • You cannot reply to this topic

Tip for running WPI from network-share... Rate Topic: -----

#41 User is offline   AlBundy33 

  • Member
  • PipPip
  • Group: Members
  • Posts: 217
  • Joined: 02-January 05

Posted 27 August 2010 - 12:24 PM

Maybe your network is not setup correctly?
you can try this:

REM reg add "HKLM\System\CurrentControlSet\Control\Network\NetworkLocationWizard" /v HideWizard /t REG_DWORD /d 00000001 /f

REM create automatically a networkdrive (works only if the share is not password-protected)
PUSHD \\192.168.x.xxx\DEPLOY

REM Start WPI and wait until it was closed
Start "running WPI..." /Wait WPI\wpi.exe

REM removes the networkdrive
POPD



Attention: If WPI restarts your PC the network-drive is lost.

Al


#42 User is offline   djbazo 

  • Group: Members
  • Posts: 4
  • Joined: 26-August 10
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 30 August 2010 - 05:31 AM

Hi Al,

thanks for your reply - i tried it with your syntax but it doesnt work - still the same issue

Windows installs fine, then it comes the first start - "preparing for first use" and "checking video performance" and then it freeze.

after i step over with ALT + F4 windows loads but it seems that setupcomplete.cmd doesnt run.

#43 User is offline   djbazo 

  • Group: Members
  • Posts: 4
  • Joined: 26-August 10
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 01 September 2010 - 06:06 AM

Hey Al,
I solved it with the following config:

setupcomplete.cmd
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:\sources\install.wim set CDROM=%%i:

copy %cdrom%\WPI\WPIRUN.cmd "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup" /Y

del %0


WPIRUN.cmd
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:\sources\install.wim set CDROM=%%i:

REG add "HKCU\Software\Microsoft\Internet Explorer\Download" /v "CheckExeSignatures" /d "no" /f
REG add "HKCU\Software\Microsoft\Internet Explorer\Download" /v "RunInvalidSignatures" /t "REG_DWORD" /d 1 /f
REG add "HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Attachments" /v "SaveZoneInformation" /t "REG_DWORD" /d 1 /f
REG add "HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Associations" /v "LowRiskFileTypes" /d ".cmd;.exe;.hta;" /f
reg import %cdrom%\wpi\software\Tools\NetzwerkinstallationEXE.reg
regedit /s %cdrom%\wpi\software\Tools\NetzwerkinstallationEXE.reg


REM create automatically a networkdrive (works only if the share is not password-protected)
PUSHD \\192.168.x.xxx\DEPLOY

REM Start WPI and wait until it was closed
Start "running WPI..." /Wait WPI\wpi.exe

REM removes the networkdrive
POPD


NetzwerkinstallationEXE.reg
Windows Registry Editor Version 5.00
  
[HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Associations]
"LowRiskFileTypes"=".exe;.cab;.msi;.msu;.cmd;.vbs"

[HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Attachments]
"SaveZoneInformation"=dword:1

[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Download]
"CheckExeSignatures"="no"
"RunInvalidSignatures"=dword:1


thanks!

Share this topic:


  • 3 Pages +
  • 1
  • 2
  • 3
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy