Skip to content
This repository has been archived by the owner on Apr 6, 2023. It is now read-only.

Autopackage variable names

fearthecowboy edited this page Oct 19, 2011 · 4 revisions
Autopackage Variables

Resolved at package build time:
    ${OneLessThanCurrent}   Current version - 1 (used to get the maximum policy version)
    ${OutputFilename}       Filename of the MSI being created (foo-1.2.3.4-x86.msi)
    ${Package.Name}           application name (foo)
    ${Package.Version}        
    ${Package.Architecture}   
    ${Package.Vendor}   
    ${Package.PublicKeyToken}
    ${Package.BindingPolicyMinVersion}
    ${Package.BindingPolicyMaxVersion}
    ${Package.ProductCode} // is a GUID ... 
    ${Package.PackageDetails.AuthorVersion}
    ${Package.PackageDetails.BugTracker}
    ${Package.PackageDetails.Icon}
    ${Package.PackageDetails.IsNsfw}
    ${Package.PackageDetails.Stability}
    ${Package.PackageDetails.SummaryDescription}
    ${Package.PackageDetails.PublishDate}


Resolved at install time:

    ${apps}                 coapp root directory (typically c:\apps)
    ${installed}            ${apps}\.installed
    ${cache}                ${apps}\.cache
    ${assemblies}           ${apps}\assemblies
    ${x86}                  ${apps}\x86
    ${x64}                  ${apps}\x64
    ${bin}                  ${apps}\bin
    ${powershell}           ${apps}\powershell
    ${lib}                  ${apps}\lib
    ${include}              ${apps}\include
    ${etc}                  ${apps}\etc
    ${allprograms}          The Windows "All Programs" path.
    
    
    ${publishername}        publisher name (the 'O' from the signing certificate)
    ${productname}          product name 
    ${version}              product version
    ${arch}                 the architecture of the package
    ${cosmeticname}         the cosmetic name of the package (foo-1.2.3.4-x86)
    ${publishedpackagedir}  ${apps}\${productname}
    ${packagedir}           ${installed}\${publishername}\${productname}-${version}-${arch}\

Clone this wiki locally