In my NAnt task I added " before and after the WiX variable.

Before the change:
        <arg line="-dImportSrc=${Import.Dir}" />
After the change:
        <arg line="-dImportSrc=&#x22;${Import.Dir}&#x22;" />

This fixed my problem.
 

Thank you,
 
Brian Wilson
Programmer Analyst, Associate
Department of Human Resources - Administrative Services
Email: brian.wil...@dhr.alabama.gov



-----Original Message-----
From: Wilson, Brian [mailto:brian.wil...@dhr.alabama.gov] 
Sent: Monday, March 21, 2011 10:30 AM
To: General discussion for Windows Installer XML toolset.
Subject: [WiX-users] Light error

Good Morning,

I am getting the following error when running Light with a NAnt task.

error LGHT0103 : The system cannot find the file 'and' with type 'Source'.

I am using WiX 3.5 and I am not sure where the error could be.  If you need 
more information, please let me know.

 

Thank you,
 
Brian Wilson
Programmer Analyst, Associate
Department of Human Resources - Administrative Services
Email: brian.wil...@dhr.alabama.gov




------------------------------------------------------------------------------
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

------------------------------------------------------------------------------
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to