/bundles/itninjaweb/img/Breadcrumb_cap_w.png
Hi All, I am new packager and I have the daunting task to remove an existing shortcut (no problem with it) but then I will need to create a new shortcut that point to the network share. So when I click on it, it actually start the exe from the share folder and not the local machine.
Any idea??[8D]

Thank you in advance

Sorry forgot to mention my tools ( Installshield and Admin Studio)
0 Comments   [ - ] Hide Comments

Comments

Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
Answer this question or Comment on this question for clarity

Answers

0
Keeping it simple, why not create a .LNK and copy it to the required Start Menu folder?
Answered 10/17/2008 by: VBScab
Red Belt

Please log in to comment
0
Thanks VbScab, I have created a new folder structure within the Application Data Folder ( ALLUSERSPROFILE)> START MENU> CORPORATE PROGRAMS and add the shortcut to it. This way if the user decide to change the shortcut path I will remove and add new shortcut within it.

Thank you, is always good to know that someone will help.
Answered 10/19/2008 by: roma70
Senior Yellow Belt

Please log in to comment
0
Hey

What about a shortcut to a network UNC path that is not accessible to a normal/ restricted user. i.e. I have an EXE on location \\setup.exe">\\<server_name>\<server_folder>\setup.exe and I want to create the same in AdminStudio. When I create a .lnk file it says the network location is not accessible as I am in normal user. Assume, this network location is available to the guy who is installing the application; but is there anyway by which I can package the application for this restricted network location. I tried the following methods:

1. Used another Shortcut, changed the extension to .TXT and edit it in notepad. I tried changing the values inside the TXT file, but on saving it gives the same old error of Network Not Accessible to the user. I know thats a stupid thing to happen, but I had no clue about it.

2. I tried downloading a few applications to create shortct but they were of no use.

3. I use Installshield, I created a Component and placed a dummy EXE inside. I created a shortcut to this dummy EXE. Thereby, editing the shortcut and marking the network location's PROPERTY. i.e. PROPRTY [location]=\\setup.exe">\\<server_name>\<server_folder>\setup.exe But, to my horror the same error appeared during installation of the MSI.

Could anyone tell me how this shortcut thingy works.

Thanks for patience in reading all this ;)


/ SATNIX
Answered 10/31/2008 by: satnix
Senior Yellow Belt

Please log in to comment
0
You need to follow the same principal that vscab mentioned before. Create a shortcut to the setup.exe on your machine and add this into your package 'as a file'. You can either add this directly into the start menu or place it elsewhere and create a shortcut in your package to point to the .lnk file.
Answered 10/31/2008 by: michaelnowell
Second Degree Blue Belt

Please log in to comment
0
What we usually do is to create a "file-launch-checker" to verify that the EXE-file is accessable from the network share and then launch the EXE-file, usually done by a vbscript that is is luanched as the shortcut.
Answered 10/31/2008 by: AngelD
Red Belt

Please log in to comment
0
Michaelnowell,

I tried doing that in the first place but I dont have direct access to the network EXE. If at all I dont have access then how can I create its shortcut. I just know that the EXE is present at the particular location.

AngelD,

It think "File launch checker" will only verify that the EXE is present and accessible. In my scenario, I know its present but I dont have access to the EXE.

Now, could anyone guide me how to proceed on that :(

Thanks for your replies
Answered 11/03/2008 by: satnix
Senior Yellow Belt

Please log in to comment
0
Satnix,

Step 1
Set up a property WkDir in the property table and set it to the directory of the EXE you want in your shortcut, \\XYZ\shared\application\

Step 2
In the shortcut table in the WkDir column for your shortcut enter WkDir (no square brackets no quotes).

Step 3
Create another property, EXEPath, with the full path of your network EXE, \\XYZ\shared\application\test.exe.

Step 4
In the Shortcut table in the same row you just entered the WkDir in, enter the [EXEPath] with the square brackets in the Target column.
Answered 11/03/2008 by: captain_planet
Fifth Degree Brown Belt

Please log in to comment
0
Sorry but do you want to launch an exe (application) located on network share or run a setup from the network?
Answered 11/03/2008 by: AngelD
Red Belt

Please log in to comment
0
captain_planet

Thanks, captain_planet, i know this thred is now like 18 moths old, but... i've been stuck with this stupid Shortcut 'Start in' and warm google sent me to this thred...

i know its abit odd, but AppDeploy is posably the seond best website after google.
Answered 10/11/2009 by: Simon_everett
Yellow Belt

Please log in to comment