[quoted text, click to view] On Dec 30, 9:54 pm, Joe <delphi...@cox.net> wrote:
> Hi,
>
> I am using VS2005 and am attempting to create a Setup project
> to install my VB.NET application onto the customer's target computer.
>
> I am having difficulty setting the Target property for the
> Desktop shortcut. It only allows me to select the Application
> folder. I cannot add the actual name of the executable program after
> that. When I install it and the user clicks on the shortcut, it opens
> the folder where the application is installed instead of actually
> starting the program - which is what I want it to do.
>
> I realize that I can manually change the target after
> installation, but it seems like I should be able to do this from the
> properties page in the Setup project so that no extra work is required
> after the Setup has been executed.
>
> Can anyone tell me how to put the name of the executable in
> the Target property?
>
> J
IIUC, There's a simple method, you can use a third party installer
like InnoSetup (must be free for non-commercial use, don't know), or
you can put your program in a archive as a SFX cabinet(WinRAR
supports), generally seems as .exe setup files which will be extracted
to the desired path of user's.
To run the program of any path, it depends on your code, you must
insert "application startup path" into your code for external
processes to run within root folder, or you must specify target
without using a exact path/drive specifier.
Eg: If you want to play a wave file from the root folder of your
application, you must use "yourwave.wav" instead of "c:\yourwave.wav.