Hi all,

I am in the middle of what i thought was going to be a simple single shortcut msi.
The shortcut points to a file that is located on a network share (the Z:\ drive). The full path is z:\scunthorpe\grpdata\cc&i\data\rhythm\fmd\absolve\absolve.exe.

I have declared a property for this path and called it FMDPATH. I tried creating this property through the "Set Property" Custom Action and also in the Property table but neither seem to work.

Please see the details below -

Property table - >
FMDPATH = z:\scunthorpe\grpdata\cc&i\data\rhythm\fmd\

The 3 fields of the shortcut get populated, i.e. Target, Arguments and Working Dir.

Target -> [FMDPATH]absolve\absolve.exe
Arguments -> [FMDPATH]status.rvw
Working Dir - > [FMDPATH]

My problem is this -
When i install my application the shortcut gets installed, but the FMDPATH in the Target field doesn't resolve correctly. It doesn't seem to like the fact that there are more than 8 letters in "Scunthorpe". I would have thought it was a problem with the longfilename but the property seems to get resolved correctly in the "Start in" field.

The result in the shortcut properties is as follows.

Target : z:\scunthor\grpdata\cc&i\data\rhythm\fmd\absolve\absolve.exe z:\scunthorpe\grpdata\cc&i\data\rhythm\fmd\status.rvw
Start in: z:\scunthorpe\grpdata\cc&i\data\rhythm\fmd\

Any ideas?
I'm stumped! I've never even been to Scunthorpe!!!

Cheers,
Mark
0 Comments   [ + ] Show 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.

Answers

0
What's the result if you change the property table as follows?

FMDPATH = z:\aberdeen\grpdata\cc&i\data\rhythm\fmd\
Answered 12/16/2005 by: WiseUser
Fourth Degree Brown Belt

Please log in to comment
0
It resolves ok when i do that.

I also tried with the path being z:\scunthorpe\scunthorpe\grpdata\cc&i\data\rhythm\fmd\

Just to see if it can resolve anything in that path over 8 characters.

The thing that baffles me is the way the path gets resolved ok in the Start in: field................
Answered 12/16/2005 by: mark_holland21
Fourth Degree Green Belt

Please log in to comment
0
ORIGINAL: mark_holland21

The thing that baffles me is the way the path gets resolved ok in the Start in: field................



That's why I suggested what I did... I expected you to get "aberdeen" in one, and "scunthorpe" in the other.
Answered 12/16/2005 by: WiseUser
Fourth Degree Brown Belt

Please log in to comment
0
No, i get z:\aberdeen\grpdata\cc&i\data\rhythm\fmd\ in both the Target field and the Start in field.
Answered 12/16/2005 by: mark_holland21
Fourth Degree Green Belt

Please log in to comment
0
How about changing

z:\scunthorpe\grpdata\cc&i\data\rhythm\fmd\

to

z:\scunth~1\grpdata\cc&i\data\rhythm\fmd\
Answered 12/16/2005 by: Foleymon
Orange Senior Belt

Please log in to comment
0
When populating the fields in the Shortcut tab, in WrkDir do not put [ ] instead of [FMDPATH] simply FMDPATH

Hope that works out for you.
Answered 12/19/2005 by: urban_diver
Orange Senior Belt

Please log in to comment
0
Is the network location available?

I've seen the shortcut targets getting truncated when the actual location isn't available at install time....
Answered 12/19/2005 by: islander222
Senior Yellow Belt

Please log in to comment
0
Hi all,

I asked this question a couple of years back and can't remember how i ever resolved this issue.
I am faced with it once again.

I have an msi that installs a shortcut only. And that shortcut points to G:\Automotive\Databases\Capwin1

However, we are using SCCM to deploy our msi's and the G:\ drive isn't mapped for the System account which is the account that is installing this msi.
Therefore, as a result of there not being a G:\ drive mapped windows truncates the Target of the shortcut from

G:\Automotive\Databases\Capwin1
to
G:\Automoti\Database\Capwin1

Note that the ve is missing from Automotice and the s is missing from Database.
Therefore it only allows 8 characters.

Anyone ever had this problem before?
Stupidly I didn't note on AppDeploy how I resolved my issue - if i ever did!

Is VBScript the only way to go?

Rgds,
Mark
Answered 05/12/2010 by: mark_holland21
Fourth Degree Green Belt

Please log in to comment
Answer this question or Comment on this question for clarity