/bundles/itninjaweb/img/Breadcrumb_cap_w.png
I am having a problem with a shortcut in a package.

The shortcut name is Scheduler and points to a network path as thus

f:\Scheduler\Scheduler.exe

When I run the complied MSI it creates the shortcut fine but sets the Target path to

f:\Schedule\Schedule.exe

There are no errors on validation or install.

I'm stuck!!
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
Most packagers would use properties to populate a network-targetted shortcut, as (simplistically) the engine will try and retrieve the EXE and working directory when it goes to create the shortcut.
Answered 08/04/2009 by: VBScab
Red Belt

Please log in to comment
0
Why can not you create Substituting exe for this? specially shortcut which points towards network locations, i have handled through substituting exe method
Answered 08/04/2009 by: abking99
Second Degree Blue Belt

Please log in to comment
0
Answered 08/04/2009 by: cygan
Fifth Degree Brown Belt

Please log in to comment
0
ORIGINAL: cygan

have a look at this http://itninja.com/question/gnu,-freeware-and-shareware-programs-to-cloning9703


what you want to do is this


go to the property table and create a property


property value
WORK | \\server name\unc path


go to the shortcut table and in the workingdir col change the value to WORK

that's all you need to do
cheers


I have nothing in my shortcut table at all.

And when I try and create entries, when I throw the package through validation I get an error

Could not write row in table.

:#
Answered 08/04/2009 by: ninjamaster
Senior Yellow Belt

Please log in to comment
0
I have nothing in my shortcut table at all. So, how is the s/c installed? Are you copying it as an LNK file?
Answered 08/04/2009 by: VBScab
Red Belt

Please log in to comment
0
ORIGINAL: VBScab

I have nothing in my shortcut table at all. So, how is the s/c installed? Are you copying it as an LNK file?



Yeah just dumped a LNK file to the desktop. But I think the penny may have dropped :)
Answered 08/04/2009 by: ninjamaster
Senior Yellow Belt

Please log in to comment
0
Yeah just dumped a LNK file to the desktop
if adding a link file make sure you add it as a non advertised shortcut
Answered 08/04/2009 by: cygan
Fifth Degree Brown Belt

Please log in to comment