Cannot run the program after FInish

Got a problem you cannot solve? Try here.
aargus07
Posts: 14
Joined: Sun Jul 01, 2007 10:10 am
Location: Grand Rapids, MI

Cannot run the program after FInish

Postby aargus07 » Fri Sep 21, 2007 7:55 pm

Why does my program not run after the Install?
The "Run After Program" checkbox is cheked ant
the appropriate MSI code is modifed in the
Finish snippet. (see attachment)

Thanks,

Dan

File Attached:

ia_code.JPG

Gizm0
Posts: 339
Joined: Wed Nov 09, 2005 8:47 pm

Postby Gizm0 » Sat Sep 22, 2007 5:57 am

Is it a .net application? Is the path set correctly? What does the -t parameter? Is it a protected/packaged application?
Panagiotis Kefalidis
Software Design Team Lead
\"In order to succeed, your desire for success should be greater than your fear of failure\"
InstallAware Software Corporation

aargus07
Posts: 14
Joined: Sun Jul 01, 2007 10:10 am
Location: Grand Rapids, MI

Run Program

Postby aargus07 » Sat Sep 22, 2007 6:10 pm

Giz,

Thank you for your reply. It is a Visual FoxPro
application and it runs fine from the Icon that IA
places on the desktop. It just will not launch
automatically as indicated by the checkbox
on the IA install procedure. The -t simply
surpresses the VFP splash screen and at this
point is probably a legacy thing... I've always
done it since early versions of VFP in whatever
contect it's launched. Never been a problem.

Thanks,

Dan

Gizm0
Posts: 339
Joined: Wed Nov 09, 2005 8:47 pm

Postby Gizm0 » Sun Sep 23, 2007 6:52 am

Most of the times applications won't get launched because they need certain variables set first, like Working Directory and stuff like that.

Use Run Program As and set Working Directory and Environment variables. Make some tests with that and you'll get it run for sure. Specially the Working Directory.
Panagiotis Kefalidis

Software Design Team Lead

\"In order to succeed, your desire for success should be greater than your fear of failure\"

InstallAware Software Corporation

aargus07
Posts: 14
Joined: Sun Jul 01, 2007 10:10 am
Location: Grand Rapids, MI

Run Program after Install...

Postby aargus07 » Sun Sep 23, 2007 4:02 pm

Gizm0,

Thanks for your advice. I've looked into your suggestion and suspect that the Working Directory is not set correctly. Again, being new to IA, there are some things I am still trying to figure out.

In the IA project, my files used to make the install are stored in;

c:\\ABC (also $TARGETDIR$) in IA

They install to \\programFiles\\XYZ whn the IA file is run on the
end user's machine.

Although I have found a couple of locations where Working Directory
is located in the IA menus, it remains unclear to me where to change
what so the the program file EXE is run from the

\\programFiles\\XYZ

on the user's end.


Dan

Gizm0
Posts: 339
Joined: Wed Nov 09, 2005 8:47 pm

Postby Gizm0 » Mon Sep 24, 2007 3:42 am

If you use Run Program As instead of Run Program to execute your file after installation finishes, you'll see the Working Directory textbox along with some others.
Panagiotis Kefalidis

Software Design Team Lead

\"In order to succeed, your desire for success should be greater than your fear of failure\"

InstallAware Software Corporation


Return to “Technical Support”

Who is online

Users browsing this forum: No registered users and 39 guests