Jump to content

!HELP! unattended installation profilesdir programfilesdir


Recommended Posts

i have netbook with 4gb ssd for windows installation.

i need to reinstall it so the documents and settings is on main hard drive (100gb) and program files are also on main drive.

got my xp installation, and I extracted iso into actual folder with winrar, searched for WINNT.sif

i put the following commands under the unattandedgui section: ProfilesDir = D:\

Programfilesdir = D:\

then i took the folder and rebuilt it with imgburn and i got the edited iso to boot.

then when installation came, i chose to install on ssd 4 gig, installation was going good, then reboot, error came saying: setup log file corrupt, please provide more information fatal error. and some other error i forget.

i tried this with two other copies of windows that i had, but it still doesnt work?

how do i modify the windows installation unattanded to change profiles dri and prgoram files dir to different path?

i already read the kb article on profiles dir and it didnt help.

i got an iso of windows xp.

extracted it with winrar

looked at the new folder that was extracted, searched for WINNT.SIF

edited with notepad: under the [unattendedgui]

i put profilesdir = D:\

and programfilesdir = D:\

saved it

went to imgburn

and i built a iso from the folder again

it said i had to get an image from the actual iso, so i mounted the iso(the original one) on a virtual drive, extraced the bootfile and added it into my new project

and then i made the new iso using iso9660(cant remember exact iso format) and joliet

burned the new iso on to disc

booted it in the netbook

reformatted ssd and main drive

reparitioned unallocated space

installed main windows installation to ssd (since i had the winnt edited im thinking that it would place programfiles and profiles on the main hard drive (D:\)

did the normal install

rebooted

got error setup failed to install product catalogs.

then i tried using this: http://www.ntfs.com/iso_image_edit.htm

and still got the error.

i tried an installation without modifying it and it worked.

i think that the error is due to the way that i extract and rebuild the iso to edit it.

.

here is the winnt.sif:

[Data]

AutomaticUpdates="No"

Autopartition=0

MsDosInitiated=0

UnattendedInstall="Yes"

[unattended]

UnattendMode=DefaultHide

UnattendSwitch="No"

OemPreinstall="No"

OemSkipEula="Yes"

ComputerType="Standard PC", Retail

FileSystem=*

WaitForReboot="No"

NoWaitAfterTextMode=1

NoWaitAfterGUIMode=1

DriverSigningPolicy=Ignore

NonDriverSigningPolicy=Ignore

Hibernation="No"

ProgramFilesDir="D:\Program Files"

CommonProgramFilesDir="D:\Program Files\Common Files"

[setupData]

OSLoadOptionsVar="/noexecute=alwaysoff"

[systemRestore]

DisableSR=1

CreateFirstRunRp=0

[GuiUnattended]

TimeZone=130

OEMSkipRegional=1

OemSkipWelcome=1

ProfilesDir="D:\Documents and Settings\"

[Components]

[userData]

ProductKey="my key"

[RegionalSettings]

LanguageGroup=1

SystemLocale="0409"

UserLocale="0409"

UserLocale_DefaultUser="0409"

InputLocale="0409:00000409"

InputLocale_DefaultUser="0409:00000409"

[Networking]

InstallDefaultComponents="Yes"

[WindowsFirewall]

Profiles=WindowsFirewall.TurnOffFirewall

[WindowsFirewall.TurnOffFirewall]

Mode=0

[identification]

JoinWorkgroup="WORKGROUP"

Edited by xpmonster
Link to comment
Share on other sites


You most likely created the iso the wrong way but to be sure you can try installing with this iso in a Virtual Machine.

You also try nlite as it usually works very well and can do what you're trying to do and as you're installing on a small drive, there are also in nlite way to remove unneeded things.

Link to comment
Share on other sites

i tried nlite but it gave me error during windows installation:

setup has no more files in i386

installation failed E:\i386\asms

N-lite is best solution for your problem. Visit msfn N-lite forum to know more about nlite. Download Latest N-lite. It works good. You can't delete any file from i386 folder. If do so your setup process will be corrupted.

Link to comment
Share on other sites

okay i tried it agiain with nlite but i get the: setup has failed to install product catalogs.

is there something that im doing wrong?

i got an xp iso.

used nlite on it

modified program files

modified documents and settings

rebuilt it back with nlite

and tried it on virtual pc and didnt work.

oh just a random question: does nlite work on installations that already have a winnt.sif on it?

Edited by xpmonster
Link to comment
Share on other sites

i tried yet another untouched iso and it still gave me the failed to install product catalogs?

what im doing:

extracting the iso with winrar

then using nlite on the extracted contents

i click: make bootcd, unattended, tweaks

i change the profilesdir and programfiles dir and put in cdkey/

i make the iso

and i test it with virtual pc and it gives me that error.

it says also: could not register rsaenh.dll

could not register dssenh.dll

signature for windows xp is invalid

setup failed to install product catalogs, should contain more information

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