Cannot run the program after FInish

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

Cannot run the program after FInish

Post by aargus07 »

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

Post by Gizm0 »

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\"
Install[b]Aware[/b] Software Corporation
aargus07
Posts: 14
Joined: Sun Jul 01, 2007 10:10 am
Location: Grand Rapids, MI

Run Program

Post by aargus07 »

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

Post by Gizm0 »

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\"
Install[b]Aware[/b] Software Corporation
aargus07
Posts: 14
Joined: Sun Jul 01, 2007 10:10 am
Location: Grand Rapids, MI

Run Program after Install...

Post by aargus07 »

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

Post by Gizm0 »

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\"
Install[b]Aware[/b] Software Corporation
Post Reply