What's wrong with this:

Target:: "[ProgramFilesFolder]Microsoft Office\Office12\EXCEL.EXE" "[INSTALLDIR]Ev4Excel.xla"
I tried delete and add quotation mark but the shortcut is unknown type.
Thanks for the one who could help ! :)

The "[ProgramFilesFolder]Microsoft Office\Office12\EXCEL.EXE is not included in my package but its already in the image.
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
Have you tried adding a backslash after ProgramFilesFolder?
[ProgramFilesFolder]\Microsoft Office\...
Answered 08/25/2011 by: Sinbad
Senior Yellow Belt

Please log in to comment
0
I would suggest abandoning prefixing the actual target file with a path to Excel, because that way, you restrict its operation to the Excel version you currently have. As soon as you upgrade Office, your shortcut is broken and you'll have to revisit every machine to fix it. Done like this instead:

Target:: "[INSTALLDIR]Ev4Excel.xla"

it can run with any supported version of Excel. It should work OK, since the Office install associates the .XLA file type with the Excel executable.
Answered 08/26/2011 by: VBScab
Red Belt

Please log in to comment
0
But I need to have 2 target. The add in (Ev4Excel.xla) is in different location. How do i make it works with ms office 2007 and 2010 at the same time? Because in legacy after I launch the shortcut it also open MS Office excel sheet.
Answered 08/31/2011 by: vhoyy
Senior Yellow Belt

Please log in to comment
0
I'd use a Set Property Custom Action to create a property for the destination folder conditioned on the OS.
Answered 08/31/2011 by: VBScab
Red Belt

Please log in to comment
0
May I know how to create that property of that custom action? thanks! I used installshield.
Answered 08/31/2011 by: vhoyy
Senior Yellow Belt

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