Download the free trial version
Basic4android Video
Features
Tutorials and manuals
Showcase
Screenshots

Go Back   Android Development Forum - Basic4android > Basic4ppc (Windows Mobile) > Questions (Windows Mobile)
Documentation Wiki Register Members List B4P Search Today's Posts Mark Forums Read

Questions (Windows Mobile) Post any question regarding Basic4ppc.

SetUpBuilder Problem - "Build Cabs first"

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 07-26-2007, 12:46 PM
Junior Member
 
Join Date: May 2007
Posts: 14
Default SetUpBuilder Problem - "Build Cabs first"

I reinstalled these 2 simple applications. I build the cabs, but proceed by pressing the Build Setup button and I get a message box "Build Cabs first." But the Cab file is created in the SetupBuilder directory and contains the following output:

1.05
D:\Program Files\Windows CE Tools\wce420\POCKET PC 2003\Tools\Cabwiz.exe
D:\Documents and Settings\Dennis Hill.DPHSUPERP4\My Documents\_BoundlessPartners\Development\SetUpBuil der\ezsetup.exe
true
true

Any clue at all?

Thanks very much -
Dennis

P.S. The ini file for the application is in the program directory as MasterTime_PPC and contains the following:

[Version]
Signature = "$Windows NT$"
Provider = "Sagacity LLC"
CESignature = "$Windows CE$"

[CEStrings]
AppName = "MasterTime2007"
InstallDir = %CE1%\%AppName%

[CEDevice]
VersionMin=3.00
VersionMax=4.99

[DefaultInstall]
CEShortcuts = Shortcuts
CopyFiles = Files.Common

[SourceDisksNames]
1=,"Common1",,"D:\Documents and Settings\Dennis Hill.DPHSUPERP4\My Documents\_BoundlessPartners\Development\MasterTim e2007\"
2=,"Common2",,"D:\Documents and Settings\Dennis Hill.DPHSUPERP4\My Documents\_BoundlessPartners\Development\MasterTim e2007\"
3=,"Common3",,"D:\Documents and Settings\Dennis Hill.DPHSUPERP4\My Documents\_BoundlessPartners\Development\MasterTim e2007\"
4=,"Common4",,"D:\Documents and Settings\Dennis Hill.DPHSUPERP4\My Documents\_BoundlessPartners\Development\MasterTim e2007\"
5=,"Common5",,"D:\Documents and Settings\Dennis Hill.DPHSUPERP4\My Documents\_BoundlessPartners\Development\MasterTim e2007\"
6=,"Common6",,"D:\Documents and Settings\Dennis Hill.DPHSUPERP4\My Documents\_BoundlessPartners\Development\MasterTim e2007\"
7=,"Common7",,"D:\Documents and Settings\Dennis Hill.DPHSUPERP4\My Documents\_BoundlessPartners\Development\MasterTim e2007\"
8=,"Common8",,"D:\Documents and Settings\Dennis Hill.DPHSUPERP4\My Documents\_BoundlessPartners\Development\MasterTim e2007\"
9=,"Common9",,"D:\Documents and Settings\Dennis Hill.DPHSUPERP4\My Documents\_BoundlessPartners\Development\MasterTim e2007\"
10=,"Common10",,"D:\Documents and Settings\Dennis Hill.DPHSUPERP4\My Documents\_BoundlessPartners\Development\MasterTim e2007\"
11=,"Common11",,"D:\Documents and Settings\Dennis Hill.DPHSUPERP4\My Documents\_BoundlessPartners\Development\MasterTim e2007\"

[SourceDisksFiles]
Activities.dat=1
c_bg2.gif=2
c_bg3.gif=3
Clients.dat=4
Expenses.dat=5
Hardware.dll=6
MasterTime2007.exe=7
Projects.dat=8
TimeSlips.dat=9
sagacitylogosharp.jpg=10
welcome.gif=11

[DestinationDirs]
Files.Common=0,%InstallDir%
Shortcuts=0,%CE2%\Start Menu

[Files.Common]
Activities.dat,,,0
c_bg2.gif,,,0
c_bg3.gif,,,0
Clients.dat,,,0
Expenses.dat,,,0
Hardware.dll,,,0
MasterTime2007.exe,,,0
Projects.dat,,,0
TimeSlips.dat,,,0
sagacitylogosharp.jpg,,,0
welcome.gif,,,0

[Shortcuts]
MasterTime2007,0,MasterTime2007.exe,%CE11%

P.P.S. And the do.bat file (also found in the application directory) contains:

D:\Program Files\Windows CE Tools\wce420\POCKET PC 2003\Tools\Cabwiz.exe "D:\Documents and Settings\Dennis Hill.DPHSUPERP4\My Documents\_BoundlessPartners\Development\SetUpBuil der\MasterTime2007\MasterTime2007_PPC.inf" /dest "D:\Documents and Settings\Dennis Hill.DPHSUPERP4\My Documents\_BoundlessPartners\Development\SetUpBuil der\MasterTime2007" /cpu ARM ARM4
del D:\Documents and Settings\Dennis Hill.DPHSUPERP4\My Documents\_BoundlessPartners\Development\SetUpBuil der\MasterTime2007\MasterTime2007_PPC.inf
del D:\Documents and Settings\Dennis Hill.DPHSUPERP4\My Documents\_BoundlessPartners\Development\SetUpBuil der\MasterTime2007\MasterTime2007_PPC.arm.dat
del D:\Documents and Settings\Dennis Hill.DPHSUPERP4\My Documents\_BoundlessPartners\Development\SetUpBuil der\MasterTime2007\MasterTime2007_PPC.arm4.dat
del D:\Documents and Settings\Dennis Hill.DPHSUPERP4\My Documents\_BoundlessPartners\Development\SetUpBuil der\MasterTime2007\do.bat
pause

P.P.P.S. And for completeness, here is the MasterTime.int file found in the SetupBuilder directory:

1.05
10
D:\Documents and Settings\Dennis Hill.DPHSUPERP4\My Documents\_BoundlessPartners\Development\MasterTim e2007\MasterTime2007.exe
D:\Documents and Settings\Dennis Hill.DPHSUPERP4\My Documents\_BoundlessPartners\Development\MasterTim e2007\MT2007c.ico
D:\Documents and Settings\Dennis Hill.DPHSUPERP4\My Documents\_BoundlessPartners\Development\MasterTim e2007\Activities.dat
D:\Documents and Settings\Dennis Hill.DPHSUPERP4\My Documents\_BoundlessPartners\Development\MasterTim e2007\Clients.dat
D:\Documents and Settings\Dennis Hill.DPHSUPERP4\My Documents\_BoundlessPartners\Development\MasterTim e2007\Expenses.dat
D:\Documents and Settings\Dennis Hill.DPHSUPERP4\My Documents\_BoundlessPartners\Development\MasterTim e2007\Projects.dat
D:\Documents and Settings\Dennis Hill.DPHSUPERP4\My Documents\_BoundlessPartners\Development\MasterTim e2007\TimeSlips.dat
D:\Documents and Settings\Dennis Hill.DPHSUPERP4\My Documents\_BoundlessPartners\Development\MasterTim e2007\c_bg3.gif
D:\Documents and Settings\Dennis Hill.DPHSUPERP4\My Documents\_BoundlessPartners\Development\MasterTim e2007\pic03.gif
D:\Documents and Settings\Dennis Hill.DPHSUPERP4\My Documents\_BoundlessPartners\Development\MasterTim e2007\sagacitylogosharp.jpg
MasterTime2007
Sagacity LLC
1
D:\Documents and Settings\Dennis Hill.DPHSUPERP4\My Documents\_BoundlessPartners\Development\SetUpBuil der\Packages\ReadMe.txt
D:\Documents and Settings\Dennis Hill.DPHSUPERP4\My Documents\_BoundlessPartners\Development\SetUpBuil der\Packages\EULA.txt
0

Last edited by dhillinmkewi : 07-26-2007 at 12:53 PM.
Reply With Quote
  #2 (permalink)  
Old 07-27-2007, 08:20 AM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 15,726
Awards Showcase
Basic4ppc Founder 
Total Awards: 1
Default

The Cab files are compressed packages of files.
Are you sure they exist (2 files) in the working folder?
Reply With Quote
  #3 (permalink)  
Old 11-28-2008, 02:53 PM
Junior Member
 
Join Date: Nov 2008
Posts: 17
Default Build Cabs first



Quote:
Originally Posted by Erel View Post
The Cab files are compressed packages of files.
Are you sure they exist (2 files) in the working folder?
I have just come across the same problem, was thier a solusion

ps running on Vista 64

pps the following were created when i clicked on build cabs

SOC v1.02_PPC - listing as Setup Information
SOC v1.ARM - Winzip File
SOC v1.ARM.DAT - DAT File
SOC v1.ARMV4 - Winzip File
SOC v1.ARMV4.DAT - DAT File

Thanks in advance
Reply With Quote
  #4 (permalink)  
Old 11-28-2008, 06:31 PM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 15,726
Awards Showcase
Basic4ppc Founder 
Total Awards: 1
Default

Try to change the projects name (in setupbuilder) to a name without spaces and see if it works.
Reply With Quote
  #5 (permalink)  
Old 11-29-2008, 10:57 PM
Junior Member
 
Join Date: Nov 2008
Posts: 17
Thumbs up Build Cabs first > Run as Administrator > Site Builder

Thanks for the help.

Just to sum up what the problem was and the solution.

1: SetupBuilder was asking for the Cab files to be built even though they had been correctly built.

2. Solution one, changed the name of the setup to NOT contain any spaces.

Result of this was that the error went away but no output was created.

3. Run SetupBuilder as Administrator - this is a vista thing for the lucky people who still have not had the fun of Vista 64 Bit.

Result it works.. just delivered late this saturday night first draft application to client just 7 days after starting with my first pocket pc application.

Thanks erel for the help and for providing us with a simple tool that just does the job and for 60 quid as well.

David Knowles
Director
db Management Systems Ltd.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with "Task.StartDate" in Outlook.dll JOTHA Bug Reports 9 09-19-2008 02:19 PM
"AddEvent" and "buttonUp/buttonDown" Byak@ Questions (Windows Mobile) 12 09-10-2008 03:04 PM
TabControl "addControl" problem. burd27 Questions (Windows Mobile) 4 04-20-2008 08:42 AM
Problem with Serial. ("before loop" error) jesb4ppc Questions (Windows Mobile) 3 02-15-2008 05:41 PM
calling the device's "Programs" or "settings" screens HarleyM Questions (Windows Mobile) 0 12-05-2007 02:59 AM


All times are GMT. The time now is 04:51 AM.


Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0