|
-
Oct 12th, 2003, 02:02 AM
#1
Thread Starter
Addicted Member
Creating the Setup for the software
I have developed an application and I have created the setup using Package and Deployment Wizard. This works fine for the application.
I have a seperate exe which I want to be executed when the package is deployed i.e when the setup is installed at the clients end. I have included the exe in the setup but I am not able to run it.
Is there any way I could tell Package and Deployment Wizard to run the particular exe ?
-
Oct 12th, 2003, 06:47 AM
#2
I'm fairly sure the P&D wizard doesn't give you the option you're after. You may want to look another setup program. ie. Inno
HTH
-
Oct 12th, 2003, 08:02 AM
#3
Frenzied Member
Or can't you edit the source of the P&D Wizard? Not sure how though.
-
Oct 12th, 2003, 10:55 AM
#4
Originally posted by TomGibbons
Or can't you edit the source of the P&D Wizard? Not sure how though.
Yes, you can. It's written in VB.
-
Oct 12th, 2003, 11:00 AM
#5
Frenzied Member
If it's written in VB, wouldn't it need the VB runtimes to install VB apps though?
-
Oct 12th, 2003, 11:07 AM
#6
Well yes, of course, but you need them for any app that you install. BTW I've did it a long time ago when I was using VB5 and I'm looking for the code.
-
Oct 12th, 2003, 11:19 AM
#7
Frenzied Member
Well yes. But if a person created a setup using P&D to install their app on a computer without the runtimes.... the installer wouldn't run because that it's self would need them right?
-
Oct 12th, 2003, 11:20 AM
#8
I just found my code. I made a number of changes to the VB5 Setup1.VBP project. One of the changes was to add the execution of an exe of mine (which programatically updated the user's existing database). Essentially all I did was to put the following line in the CopySection sub of basSetup1.
nRC = Shell(gstrDestDir & "data\dbmaint.exe)
-
Oct 12th, 2003, 11:27 AM
#9
Originally posted by TomGibbons
Well yes. But if a person created a setup using P&D to install their app on a computer without the runtimes.... the installer wouldn't run because that it's self would need them right?
I may not understand the point you are trying to make, but you can't install any VB app without the runtimes.
-
Oct 13th, 2003, 06:48 AM
#10
The installer automatically initializes the runtimes it requires hence the Loading File x of 8 or something, those files when the setup first starts are the runtimes required by the setup to function.
And versions of Windows from 2000 up I think, has the basic runtimes already installed anyway.
-
Oct 14th, 2003, 10:39 AM
#11
Frenzied Member
Originally posted by MartinLiss
I may not understand the point you are trying to make, but you can't install any VB app without the runtimes.
That's not really what I was getting at. But nevermind
-
Oct 14th, 2003, 11:22 AM
#12
Hyperactive Member
Hi...
The installer works like this (i think)
The main program is made in C (something).. It extracts the vb runtimes and the "vb installer" (the one that does the hole work, the one that you can edit). And then the "vb installer" does it's work..
-
Oct 14th, 2003, 12:53 PM
#13
carlodin is on it. The installer has an exe that checks your machine for the vb runtime file. If they are there it just moves on. If not it installs them and then has you reboot so the system will register the files. This is why on an older OS you have to reboot the first time you try to install a VB6 app. and then restart the install.
-
Oct 14th, 2003, 01:13 PM
#14
Frenzied Member
Ahh Cool thanks.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|