General Questions

Got a problem you cannot solve? Try here.
Post Reply
smehaffie
Posts: 20
Joined: Fri Jul 13, 2007 7:32 pm

General Questions

Post by smehaffie »

1) Is there a way to create a shortcut in the startup folder so an application will start each time the user logs in?

2) I need to run a separate exe to install my SQL database (SQLPackager). I want to run it from the install CD/DVD and not have to copy the file locally to run the install. Is there a way to do this?

3) When you create a custom form, how to you tell the program what form it is after and before? What controls the order the forms are loaded?
Gizm0
Posts: 339
Joined: Wed Nov 09, 2005 8:47 pm

Post by Gizm0 »

1) Yes there is a way to create a shortcut wherever you want on the target machine

2) You can do this also. You can include the file you want into the Support Files or even leave it on the cd , and using MSICode easily execute it.

3) It's controlled by MSICode and Dialog commands.
Panagiotis Kefalidis
Software Design Team Lead
\"In order to succeed, your desire for success should be greater than your fear of failure\"
Install[b]Aware[/b] Software Corporation
pfennig

Re: General Questions

Post by pfennig »

smehaffie wrote:1) Is there a way to create a shortcut in the startup folder so an
application will start each time the user logs in?
Yes, e.g when you define your setup globals use
Get Folder Location Start Menu->Startup Group into STARTUPSHORTCUTFILES

where STARTUPSHORTCUTFILES is a variable name you define. Then you can use it
to create your shortcuts.
smehaffie wrote:3) When you create a custom form, how to you tell the program
what form it is after and before? What controls the order the forms are loaded?
Have a look at how it's done with the other forms.
Create a new label at the position between the other labels where you want your form
to pop up, give it a meaningful name, then call Define dialog with the name of your form
as parameter. After that add the commands you want to be executed when the form
gets closed.
Again, just compare how the other forms are handled.
smehaffie
Posts: 20
Joined: Fri Jul 13, 2007 7:32 pm

Post by smehaffie »

Gizm0 wrote:1) Yes there is a way to create a shortcut wherever you want on the target machine

2) You can do this also. You can include the file you want into the Support Files or even leave it on the cd , and using MSICode easily execute it.

3) It's controlled by MSICode and Dialog commands.
#2) I guess my question is how do I tell it to execute from the CD, since I will not know what drive letter each users CD drive is. Is there a variable I can use to tell it to execute the file from the root of the install CD or a sub-directory on the install CD.
Tinus
Posts: 209
Joined: Tue Jun 20, 2006 8:42 am
Location: Germany

Post by Tinus »

Open help and look at "Pre-Defined Variables".

EXEDIR: The folder containing the setup executable itself.
Martin Rothschink

AxoNet Software GmbH
http://www.axonet.de/products/other-pro ... stallaware
smehaffie
Posts: 20
Joined: Fri Jul 13, 2007 7:32 pm

Post by smehaffie »

Tinus wrote:Open help and look at "Pre-Defined Variables".

EXEDIR: The folder containing the setup executable itself.
Thanks, that is what I needed.
Post Reply