Basic4ppc - Windows Mobile Development  

Go Back   Basic4ppc - Windows Mobile Development > Main Category > Questions & Help Needed
Home Register FAQ Members List Search Today's Posts Mark Forums Read

Questions & Help Needed Post any question regarding Basic4ppc.


Setup files


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 05-24-2007, 10:06 PM
Cableguy's Avatar
Basic4ppc Expert
 
Join Date: Apr 2007
Location: N 41º11'30.30" W 8º39'46.60"
Posts: 1,314
Default Setup files

Hi

I have about 80%of my Pairs v2 completed and developed a "Side-Kick" app to run in the desktop, in order for the user to compile imagesets to use in the game....
Beeing the game developed to the device how to build a setup installer that will install each to the respective platform, in the same package?
__________________
Paulo Gomes
Porto, Portugal

PC: Dual-Core 1,8Ghz, 2GB RAM, 80GB HD
PPC: Qtek9000, 1GB SD

DLL Version Listing
Reply With Quote
  #2 (permalink)  
Old 05-24-2007, 10:53 PM
Junior Member
 
Join Date: Apr 2007
Location: Leicester, UK
Posts: 16
Default

What if you created two separate installers -- one for the PC app and one for the PPC app. Then write a bootstrap program that shells out to each installer in turn. Zip all three in a self-extracting zip with the bootstrap program to run on unzipping.
John
Reply With Quote
  #3 (permalink)  
Old 05-24-2007, 10:56 PM
Cableguy's Avatar
Basic4ppc Expert
 
Join Date: Apr 2007
Location: N 41º11'30.30" W 8º39'46.60"
Posts: 1,314
Default

By bootstarp You mean a Bat file?

I used to be handy in DOS but now....any help links You could provide to the bootstarp portion?
__________________
Paulo Gomes
Porto, Portugal

PC: Dual-Core 1,8Ghz, 2GB RAM, 80GB HD
PPC: Qtek9000, 1GB SD

DLL Version Listing
Reply With Quote
  #4 (permalink)  
Old 05-25-2007, 09:48 AM
Junior Member
 
Join Date: Apr 2007
Location: Leicester, UK
Posts: 16
Default

I too go back to DOS – and even 6502 assembler!

By a bootstrap program I meant a PC Windows program that does nothing except run other programs.

Take YourApp_PC.exe.

Make PC installer called setup1 exe. I don’t think SetupBuilder will create a PC installer so you’ll need InstallShield or similar.

Zip Setup1.exe.

Make it a self-extracting exe (in WinZip self-extractor set it as “for software installation”) called setup1b.exe with Setup1.exe as the file to be automatically launched.

Take YourApp_PPC.exe.

Make PPC installer called setup2.exe. If your application needs files installed in different folders you may need something other than SetupBuilder. I’m not sure if the latest version allows you to specify several destination folders.

Zip Setup2.exe.

Make it a self-extracting exe (in WinZip self-extractor set it as “for software installation”) called setup2b.exe with Setup2.exe as the file to be automatically launched.

Write Basic4PPC program (called YourApp_Install) to run the installers. I had thought one button could do the trick but Basic4PPC would run both installers asynchronously so unless there is a way to implement WinExecAndWait it will have to be two buttons. But that’s not a bad thing, it would enable the user to selectively re-install PC or PPC program as appropriate.

In one button, set Shell to run setup1b.exe. That will self-extract and run setup1.exe.

In the other set Shell to run setup2b.exe. That will self-extract and run setup2.exe.

All this is theoretical as I am nowhere near a PC with Basic4PPC installed but it should work. The files should extract to a temporary file so Shell should find them.
John
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 On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
setup dibesw Italian Forum 0 10-25-2008 11:32 AM
Setup Builder Modification Sven Kommers Additional Libraries 5 08-26-2008 02:48 PM
Setup Builder - adding files TWELVE Questions & Help Needed 1 06-10-2008 06:55 PM
setup builder question jerryjukem Questions & Help Needed 1 05-05-2008 06:15 AM
Different Target for Setup Builder Woinowski Additional Libraries 0 01-07-2008 12:37 PM


All times are GMT. The time now is 04:44 PM.


Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.1.0