Can Setup.exe automatically start my .exe file?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I am new to Visual Basic.Net using the Standard Edition, which does not come
with a Deployment wizard, so I use the template on the File Systems Tab.

Everything works fine, and I have enabled the following (Where
"MyProgram.exe" is my new VB,net creation)

When the user runs Setup.exe, he is presented with the choice of installing
to \Program Files\MyProgram or a location of his choosing.
Setup copies all the files to that location, then creates a desktop icon and
start menu items.

My Questions:
1) Is there a way to force Myprogram.exe to run automatically at the end of
the setup,
without the user having to click on the MyProgram icon ?
2) Is there a way to have setup.exe display a Eula screen for the user to
accept BEFORE running the install?

thanx....joisey
 
Jan. 15, 2005

To start your program, you would have to create a custom action. Then
you would add this to the deployment project's custom actions for "After
Install". You would also want to include the supplied EULA action in the
"Before Install". For specific steps to take, I sure you can find lots of
articles on MSDN. Hope this helps!


Joseph MCAD
 
I agree about the custom event.

To show the EULA screen: Add one (see dialog options above the project
explorer dialog). You just add it to your solutuion
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top