Hello,

We have converted one of our installer projects to WiX and it seems to 
work well. However, on our development machines we have an environment 
variable, ProjectPath, which is completely unrelated to WiX. When the 
project is built from Visual Studio (2012), this environment variable is 
expanded in Light's command line:

1>    C:\Program Files (x86)\WiX Toolset v3.7\bin\Light.exe -out 
C:\BUILD\tools\BuildMgr\trunk\Nov.BuildMgr.WixInstall\bin\Release\BuildmanagerSetup.msi
 
-pdbout 
C:\BUILD\tools\BuildMgr\trunk\Nov.BuildMgr.WixInstall\bin\Release\BuildmanagerSetup.wixpdb
 
-cultures:null -ext "C:\Program Files (x86)\WiX Toolset 
v3.7\bin\\WixUIExtension.dll" -contentsfile 
obj\Release\Nov.BuildMgr.WixInstall.wixproj.BindContentsFileListnull.txt 
-outputsfile 
obj\Release\Nov.BuildMgr.WixInstall.wixproj.BindOutputsFileListnull.txt 
-builtoutputsfile 
obj\Release\Nov.BuildMgr.WixInstall.wixproj.BindBuiltOutputsFileListnull.txt 
-wixprojectfile \\DEUS\COMMON\PROJECT obj\Release\Product.wixobj
1>light.exe(0,0): error LGHT0281: The -wixprojectfile option requires a 
file, but the provided path is a directory: \\DEUS\COMMON\PROJECT

The offending part is "-wixprojectfile \\DEUS\COMMON\PROJECT 
obj\Release\Product.wixobj" (I have ProjectPath set to 
\\DEUS\COMMON\PROJECT). The current work-around is to remove the 
environment variable when building an install project, but this is a bit 
clunky. Is there a better solution?

Andreas Jönsson

------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to