Jump to content

[GUIUNATTENDED] DetachedProgram


Recommended Posts

I have idea put in T-39 .reg file.

I know .cmd file dont will work in winnt.sif - DetachedProgram

i did pack this theme.cmd to RAR SFX file

theme.cmd

echo off

cls

%CDROM%/GROM/Z REGEDIT /S Theme.reg

EXIT

next i put theme.sfx.exe in %OEM%/$1/theme.sfx.exe

in mine winnt.sif write like this

[GuiUnattended]

AdminPassword=*

EncryptedAdminPassword=NO

OEMSkipRegional=1

TimeZone = 020

OemSkipWelcome=1

DetachedProgram = "%systemdrive%\Theme.sfx.exe"

Arguments="/S"

Whot i did will work or not ,somebody have some idea

Yurek3

Edited by Yurek3
Link to comment
Share on other sites


BeenThereB4

you can explane me mor please

i did rename to theme.exe

and i not undestud -change the command accordingly.-

Yurek3

[GuiUnattended]
AdminPassword=*
EncryptedAdminPassword=NO
OEMSkipRegional=1
TimeZone = 020
OemSkipWelcome=1
DetachedProgram = "%systemdrive%\Theme.exe"
Arguments="/S"

On further looking, you are just way off from a working program.

Edited by BeenThereB4
Link to comment
Share on other sites

thanks Alanoll.

btw, just a note, sfx-winrar archive doesnt work at being uncompressed at this part of the installation. though sfx-winrar (compressed using windows console mode) will work, as well as sfx-zip archive compressed via 7zip.

Try this

@Echo OFF
CLS

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:\win51ip.SP2 SET CD=%%i:

REGEDIT /s %CD%\GROM\Z\Theme.reg

exit

and place the cmd file in your $OEM$\$$ Directory.

[GuiUnattended]
DetachedProgram=".\system32\cmd.exe"
Arguments="/Q /C "start /min "%systemroot%\Theme.cmd%"""

I think that will work for you if not check out

How to make a 7-zip Switch

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...