How do I get a shortname for a folder in WiX for a Windows Installer property? -
i trying register out-of-process com file (.exe) through wix after extracting com registration regspy.exe, , running problem registry key need write is:
<registryvalue value="c:\progra~1\common~1\file.exe /automation" type="string" /> now use windows installer property [commonfilesfolder] not installs c:\
for in-process (.dll) long name acceptable:
<registryvalue value="[commonfilesfolder]file.dll" type="string" /> but appears in not true out-of-process. there way convince or convert [commonfilesfolder] short name? particular problem x64, name resolve c:\progra~2\ instead of c:\progra~1\
use [!idoffile] full short path. (see formatted in msi sdk full list of special formatting keys.)
Comments
Post a Comment