Jump to content

How do I?... execute at intallation.


Recommended Posts


When you say you don't want to use $$, does that mean you don't want to use

the $oem$ directory also? Or do you mean you want to run it from the cd

and not have it copied to the hard drive? You could call it from cmdlines.txt using a cmd file. Theres also detachedprogram in winnt.sif.

The big question is what are you trying to do? Why don't you want to use

$$? You could also do a little searching. Reading the guide http://unattended.msfn.org/index.htm might help too.

Link to comment
Share on other sites

Ok, during the normal windows installation before it asks for the name and organization i just want to be able to run an EXE. But i want my exe to be integrated into the i386 folder and to be ran by windows as if my EXE was windows created. Please help.

-Thanks

Link to comment
Share on other sites

I don't even know if there's such a method that allows you to run a program during this time. First you have detachedprogram, then cmdlines, GuiRunOnce and finally RunOnceEx. At least, those are the ones that I know about. None of these methods allows you to run anything at that moment. The closest option would be the GuiRunOnce, but that will execute your program after the "Name and Organisation" wizard at the beginning. Perhaps someone else has a better idea. I would love to hear this too.

Edited by Marthax
Link to comment
Share on other sites

At what point is the user/organidation screen shown?

Detachedprogram run at T39 right before drivers are installed.

You could copy your program to the i386 dir on your cd and

edit txtsetup.sif so it's copied to your hd during install.

[sourceDisksFiles]

myprogram.exe = 1,,,,,,3_,1,0,0,,1,2

this will copy myprogram.exe to the windows dir.

then call it with detachedprogam or one of the other methods

mentions by Marthax

[GuiUnattended]

DetachedProgram="%windir%\myprogram.exe"

Link to comment
Share on other sites

I want to create a GUI installation; I’m thinking to do it in VB (GUI) and C++ (backbone) (leave the coding for me). Basically my program will read a regular ini that will instruct my program that it needs to show a number of program (specified by the creator) and will ask the user if it wants them to be installed or not.

-ps I'm already coding, i need a couple of days and also i need to test right now if what “jbm” said is correct and accurate. If anyone else has any ideas please let me know.

-Thanks

Link to comment
Share on other sites

Please post back if what I said doesn't work for you.

I've only used detachedprogram to run an SFX file

that extracts my drivers to be installed. But I haven't

tried installing any apps at that point.

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