WPS 7 variables
Hey guys,
I've looked in the past for a list of WPS 7 vairables that I can use in my packages. Is there an extensive list somewhere for this? Now, I'm not looking for Windows Variables. For example, if I write down C:\Program Files in my package, Wise will often replace it with [ProgramFilesFolder]. I'm looking for more of these variables.
Now, again, I've looked on google and multiple PDF's, and only thing I seem to find is variables used by Windows.
Thanks for the help!
Steph
I've looked in the past for a list of WPS 7 vairables that I can use in my packages. Is there an extensive list somewhere for this? Now, I'm not looking for Windows Variables. For example, if I write down C:\Program Files in my package, Wise will often replace it with [ProgramFilesFolder]. I'm looking for more of these variables.
Now, again, I've looked on google and multiple PDF's, and only thing I seem to find is variables used by Windows.
Thanks for the help!
Steph
0 Comments
[ - ] Hide Comments

so that the conversation will remain readable.
Answer this question
or Comment on this question for clarity
Answers
The ProgramFilesFolder property is among others a special property called system folder property (aka shellfolder) Have a look at http://msdn.microsoft.com/en-us/library/aa370881.aspx
For a alsmost complete property list have a look at http://msdn.microsoft.com/en-us/library/aa370905(VS.85).aspx
For a alsmost complete property list have a look at http://msdn.microsoft.com/en-us/library/aa370905(VS.85).aspx
Please log in to comment
You are referencing Windows Installer Properties - have a look here:
http://msdn.microsoft.com/en-us/library/aa370905(VS.85).aspx
WPS variables are quite different - the values can be set during project setup then used throughout your workbench packaging process as and when required:
[ApplicationName]
The current project's Application Name field in Project Setup.
[FileName]
The current project's File Name field in Project Setup.
[Notes]
The current project's Notes field in Project Setup.
[PackageName]
The current project's Package Name field in Project Setup.
[PackageStudioDir]
The directory in which Wise Package Studio is installed.
[ProductVendor]
The current projects's Product Vendor field in Project Setup.
[ProjectDir]
The current project's Project Directory field in Project Setup.
[ProjectName]
The current project's Project Name field in Project Setup.
[Sharepoint]
The current share point directory specified on the Workbench Preferences dialog > Repository tab.
[SoftwareManagerDSN]
The Software Manager database that is associated with the current share point directory.
[VendorPackage]
The current project's Vendor Package field in Project Setup.
[WorkbenchDSN]
The Workbench database that is associated with the current share point directory.
http://msdn.microsoft.com/en-us/library/aa370905(VS.85).aspx
WPS variables are quite different - the values can be set during project setup then used throughout your workbench packaging process as and when required:
[ApplicationName]
The current project's Application Name field in Project Setup.
[FileName]
The current project's File Name field in Project Setup.
[Notes]
The current project's Notes field in Project Setup.
[PackageName]
The current project's Package Name field in Project Setup.
[PackageStudioDir]
The directory in which Wise Package Studio is installed.
[ProductVendor]
The current projects's Product Vendor field in Project Setup.
[ProjectDir]
The current project's Project Directory field in Project Setup.
[ProjectName]
The current project's Project Name field in Project Setup.
[Sharepoint]
The current share point directory specified on the Workbench Preferences dialog > Repository tab.
[SoftwareManagerDSN]
The Software Manager database that is associated with the current share point directory.
[VendorPackage]
The current project's Vendor Package field in Project Setup.
[WorkbenchDSN]
The Workbench database that is associated with the current share point directory.
Please log in to comment
I only know of a few...i'm sure there are more similar to this, but i've never seen a full list of variables specific to WPS
[Version] - Version number in the Product Details section (Project Definition)
[Date] - current date at time of launch
[Time] - current time at time of launch
[Version] - Version number in the Product Details section (Project Definition)
[Date] - current date at time of launch
[Time] - current time at time of launch
Please log in to comment
Comments