Hi, I wanna add the SaveAsPDFandXPS.exe add-in to my Office 2007 package.
So I started the OCT Tool and went to the Add installations and run programs section and I added the path where the add-in reside : \\pc-jakeld\setup$\Microsoft\Office\2007 Enterprise EN\Add-Ins\SaveAsPDFandXPS.exe.

The problem is what if the path of the add-in change like if i want to put on a CD how I am suppose to guess which letter will my cd-rom drive be. I want my package compatible on every PC. So I need a variable for the Current Path like [CurrentPath] but unfortunatelly looks like MS forget to include that one which really piss me out.


Any suggestions ?
0 Comments   [ + ] Show 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.


I'm not intimate with the Office Customistaion Tool but couldn't you just use the shorthand '.' for the current directory? Then your called EXE could live alongside the MSI:


or in a sub-folder branching from the MSI's parent folder:


Does that work? If my syntax is off, I'm sure you see the principle.
Answered 07/03/2007 by: VBScab
Red Belt

Please log in to comment
Well, the SaveAsPDFandXPS.exe addon is located in the same folder as setup.exe so I tried without specifying any folders and it did not work [:(]

I'll give a try with your synthax and also with the \. I will let you guys know.
Answered 07/08/2007 by: jakeld
Senior Yellow Belt

Please log in to comment
you can also use these

[OriginalDatabase] and [SourcedDir]
Answered 07/09/2007 by: jmcfadyen
Fifth Degree Black Belt

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