Cab files not being generated in the setup project

G

Guest

Hi! I was referring to the following websites to implement a deployment project
http://www.haggard-and-associates.com/DOT_NET/C_Sharp_for_CF/Deployment/deployment.ht
http://msdn.microsoft.com/mobility/...brary/en-us/dnnetcomp/html/netcfdeployment.as

It worked fine till the Setup project and the Custom installer were added to source safe. We had to tweak the BuildCab.bat file, so that we didn't get any errors from VSS. The original code in BuildCab.bat wa

"C:\Program Files\Microsoft Visual Studio .NET 2003\CompactFrameworkSDK\v1.0.5000\Windows CE\..\bin\..\bin\cabwiz.exe" "C:\Projects\Champ.PPC.V2.root\Champ.PPC.V2\BuildCabs\Champ.PPC.V2_PPC.inf" /dest "C:\Projects\Champ.PPC.V2.root\Champ.PPC.V2\cab\Release" /err CabWiz.PPC.log /cpu ARMV4 ARM SH3 MIPS X86 WCE420X8

The modified BuildCab.bat has these lines of code

setloca
set path=%path%;C:\Program Files\Microsoft Visual Studio .NET 2003\CompactFrameworkSDK\v1.0.5000\bin

set project_ini=C:\Projects\Champ.PPC.V2.root\Champ.PPC.V2\BuildCabs\Champ.PPC.V2_PPC.in
rem set project_dest=C:\Projects\Champ.PPC.V2.root\Champ.PPC.V2\cab\Releas

set project_dest=C:\Projects\Champ.PPC.V2.root\Champ.PPC.V2.Setup\Cabs\Releas

rem CHDIR C:\Program Files\Microsoft Visual Studio .NET 2003\CompactFrameworkSDK\v1.0.5000\bi

cabwiz.exe "%project_ini%" /dest "%project_dest%" /err CabWiz.PPC.log /cpu ARMV4 ARM SH3 MIPS X86 WCE420X8

endloca

When I build the solution in Release mode, the CAB files are not updated. Can someone provide information on this scenario
Thanks for your time
Raj
 
C

Chris Tacke, eMVP

You mention you're using VSS. Any chance any one of the files is read-only
(not checked out)?

--
Chris Tacke, eMVP
Co-Founder and Advisory Board Member
www.OpenNETCF.org
---
---
Principal Partner
OpenNETCF Consulting
www.OpenNETCF.com



Raj said:
Hi! I was referring to the following websites to implement a deployment project:
http://www.haggard-and-associates.com/DOT_NET/C_Sharp_for_CF/Deployment/deployment.htm
http://msdn.microsoft.com/mobility/...rary/en-us/dnnetcomp/html/netcfdeployment.asp

It worked fine till the Setup project and the Custom installer were added
to source safe. We had to tweak the BuildCab.bat file, so that we didn't get
any errors from VSS. The original code in BuildCab.bat was
"C:\Program Files\Microsoft Visual Studio .NET
2003\CompactFrameworkSDK\v1.0.5000\Windows CE\..\bin\..\bin\cabwiz.exe"
"C:\Projects\Champ.PPC.V2.root\Champ.PPC.V2\BuildCabs\Champ.PPC.V2_PPC.inf"
/dest "C:\Projects\Champ.PPC.V2.root\Champ.PPC.V2\cab\Release" /err
CabWiz.PPC.log /cpu ARMV4 ARM SH3 MIPS X86 WCE420X86
The modified BuildCab.bat has these lines of code:

setlocal
set path=%path%;C:\Program Files\Microsoft Visual Studio .NET 2003\CompactFrameworkSDK\v1.0.5000\bin;
project_ini=C:\Projects\Champ.PPC.V2.root\Champ.PPC.V2\BuildCabs\Champ.PPC.V
2_PPC.inf
rem set project_dest=C:\Projects\Champ.PPC.V2.root\Champ.PPC.V2\cab\Release
project_dest=C:\Projects\Champ.PPC.V2.root\Champ.PPC.V2.Setup\Cabs\Release

rem CHDIR C:\Program Files\Microsoft Visual Studio .NET 2003\CompactFrameworkSDK\v1.0.5000\bin

cabwiz.exe "%project_ini%" /dest "%project_dest%" /err CabWiz.PPC.log /cpu
ARMV4 ARM SH3 MIPS X86 WCE420X86
endlocal

When I build the solution in Release mode, the CAB files are not updated.
Can someone provide information on this scenario?
 
G

Guest

:) Thank you Chris! That was it. I assumed that I didn't have to check out the files for building the CAB files. The CustomInstaller and Setup project and two other files were not checked out. After I checked them out and did a Release build, the new CAB files were built
Thanks for responding
-Raj
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top