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

Popular posts from this blog

php - What is the difference between $_SERVER['PATH_INFO'] and $_SERVER['ORIG_PATH_INFO']? -

fortran - Function return type mismatch -

queue - mq_receive: message too long -