Topic: Run an executable file before the un7zip

Hi, it's about 2 years that I'm using the driverpacks and i really love it.

I've created an unattended windows xp and I've integrated the driverpacks into it.
In this method i use, it's impossible to format the drive before beginning the installation. so I have to delete the old windows folders first.
I can add my own .exe file to the 39-minutes stage to delete them all but it's a little late because the driverpacks needs about 2 GB before that.
So here is my problem, i don't have enough space for the huge amount of decompressed files so i need to run my .exe file before the "un7zip".
I've already tested the "presetup.cmd" and "DP_Install_Tool.cmd" but none of them worked !

I'm not sure if i did it right but is it really supposed to work this way or I'm making a mistake somewhere ?

thanks in advance

Re: Run an executable file before the un7zip

You should be able to put your commands at the top of presetup... IF...

you are not installing to the same folder.

if the old folder is c:\windows you will need to use c:\winnt (or similar)

does that help?

DP BartPE Tutorial   DP_BASE Tutorial   HWID's Tool     Read BEFORE you post    UserBars!
http://driverpacks.net/userbar/admin-1.png
The DriverPacks, the DP_Base program, and Support Forum are FREE!.

Re: Run an executable file before the un7zip

OverFlow wrote:

You should be able to put your commands at the top of presetup... IF...

Like i said I've added my command to the presetup before, it's like : %systemdrive%\myfile.exe
But it didn't work. I'm sure it didn't even load.
However if i add it to the 39min stage it runs correctly.

OverFlow wrote:

if the old folder is c:\windows you will need to use c:\winnt (or similar)

It is already done.

So what should i do ? is there something else that i need to change ?

Re: Run an executable file before the un7zip

Is your file actually an exe?
i know for a fact that autoit programs will fail at this point in winpe...

DP BartPE Tutorial   DP_BASE Tutorial   HWID's Tool     Read BEFORE you post    UserBars!
http://driverpacks.net/userbar/admin-1.png
The DriverPacks, the DP_Base program, and Support Forum are FREE!.

Re: Run an executable file before the un7zip

actually it's an autoit file. but how come it runs at 39min stage and not in the fake setup ?
could you tell me how did you add the presetup to this stage so i can add mine and check if it runs or not ?

Re: Run an executable file before the un7zip

you were right ,
I checked another command in the presetup and it worked.
I'm going to change my commands.
thanks for your help.

Re: Run an executable file before the un7zip

Anytime !

DP BartPE Tutorial   DP_BASE Tutorial   HWID's Tool     Read BEFORE you post    UserBars!
http://driverpacks.net/userbar/admin-1.png
The DriverPacks, the DP_Base program, and Support Forum are FREE!.