sweiberg,
The ShapeAppCSharp samples handle this issue by using a registry entry instead of an absolute location in the project templates. I'm not sure if you can enter this directly into ProjectGen or if you will have to manually change the template
(click here for a tutorial on updating templates). This entry is added by the setup file.
Template proj file:
DebugInfoExeName="#HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\ShapeAppCSharp\InstallPath#\ShapeAppCSharp.exe"
Setup File:
var hostID = "ShapeAppCSharp";
var manufacturer = "Microsoft";
var installPath = fso.BuildPath(sampleRootPath, "core\\basic\\bin\\debug");
wshShell.RegWrite("HKLM\\Software\\" + manufacturer + "\\" +
hostID + "\\", "");
wshShell.RegWrite("HKLM\\Software\\" + manufacturer + "\\" +
hostID + "\\InstallPath", installPath, "REG_SZ");
Registry Entry:
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\ShapeAppCSharp]
@=""
"InstallPath"="C:\\ShapeAppSamples\\ShapeAppBasicCSharp\\core\\basic\\bin\\debug"
I hope this helps, please let me know if you have any questions.
Thanks,
-Melody