I use this code to get a path to the programData folder:
When i print g_strSettingsDir in a dialog i get the correct path.Push $1
System::Call 'shell32::SHGetSpecialFolderPath(i $HWNDPARENT, t .r1, i ${CSIDL_COMMONAPPDATA}, i0)i.r0'
StrCpy $g_strSettingsDir " $1\${PRODUCT_PUBLISHER}\${MUI_STARTMENUPAGE_DEFAULTFOLDER} ${PRODUCT_VERSION}\${PRODUCT_NAME}"
MessageBox MB_ICONEXCLAMATION|MB_OK $g_strSettingsDir
Pop $1
But when I use it with SetOutPath the ':' is removed from the path.
The dialog:

And when I run the installer:

As you can see, the ':' is gone and the program won't install correctly
Any ideas of why this happens?
Edit: Topic should be SetOutPath...
// T.H