Jump to content

run wpi.hta


Recommended Posts

hello all!

Please help me because I revised all of the forum already but I was not able to solve it.

$oem$ \$$\setup\scripts\SetupComplet.cmd

his content:

echo off /HID
cd /d %~dp0

regedit /s %systemroot%\setup\scripts\ati.reg
regedit /s %systemroot%\setup\scripts\tweak.reg
regedit /s %systemroot%\setup\scripts\oembg.reg

copy "%cdrom%\$oem$\$$\firmconv.dll" "%WINDIR%\system32\shellext\firmconv.dll"
copy "%cdrom%\$oem$\$$\shellext.dll" "%WINDIR%\system32\shellext\shellext.dll"

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%\Software\7z.exe /S /v /q /VerySilent
Start/wait %CDROM%\Software\cc222.exe /S
Start/wait %CDROM%\Software\imgburn.exe /S /v /q /VerySilent
Start/wait %CDROM%\Software\klite.exe /S /v /q /VerySilent
Start/wait %CDROM%\Software\Notepad.exe /S /v /q /VerySilent
Start/wait %CDROM%\Software\unlocker.exe /S
Start/wait %CDROM%\Software\winrar.exe /s

EXIT

But if in this these vanna what starts it then the wpi.hta file?

Ahead thanks betax

(sorry translator)

Link to comment
Share on other sites


AFAIK setupcomplete.cmd works only on Vista and the file is called after the first logon.

To collect some informations you can add the following lines to you script:

ECHO %DATE%, %TIME% >"%SystemDrive%\test.log"
SET >>"%SystemDrive%\test.log"

Al

Edited by AlBundy33
Link to comment
Share on other sites

On my unattended-XP-CD I'm using the attached structure to start my scripts and WPI.

--> With this there is no need to copy files on hdd - you can run your scripts directly from CD - don't know if it also works on Vista.

Al

_OEM_.zip

Edited by AlBundy33
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...