This site is no longer active and is available for archival purposes only. Registration and login is disabled.

Installer for all CPU's?


Installer for all CPU's?

Postby Phantom » Nov 9, 2001 @ 8:45am

Give me some good data and
I will give you the world
User avatar
Phantom
pm Insider
 
Posts: 913
Joined: Feb 21, 2001 @ 8:14am
Location: Houten, Netherlands


Re: Installer for all CPU's?

Postby JeremyR » Nov 9, 2001 @ 12:40pm

JeremyR
pm Member
 
Posts: 3
Joined: Nov 9, 2001 @ 10:27am


Re: Installer for all CPU's?

Postby Phantom » Nov 9, 2001 @ 2:15pm

Give me some good data and
I will give you the world
User avatar
Phantom
pm Insider
 
Posts: 913
Joined: Feb 21, 2001 @ 8:14am
Location: Houten, Netherlands


Re: Installer for all CPU's?

Postby Paul » Nov 9, 2001 @ 2:19pm

Paul
pm Insider
 
Posts: 9835
Joined: Apr 2, 2001 @ 3:15pm
Location: California


Re: Installer for all CPU's?

Postby Phantom » Nov 9, 2001 @ 2:35pm

Give me some good data and
I will give you the world
User avatar
Phantom
pm Insider
 
Posts: 913
Joined: Feb 21, 2001 @ 8:14am
Location: Houten, Netherlands


Re: Installer for all CPU's?

Postby Dan East » Nov 9, 2001 @ 2:51pm

Yeah, you can do that! I have one installer for all device types, and it shares HTML and image files that are common to all installations. <br>You have a [SourceDisksNames] section. Use that only for common files. Then have a section specific to each processor type [SourceDisksNames.STRONGARM], where you specify the path for the various device specific files.<br>You do the same for [SourceDisksFiles], where you specify the path ID for each file. You then create one for each processor [SourceDisksFiles.STRONGARM]. You also create [Files] sections. I use [Files.Common] for shared files, then use sections for each device [Files.STONGARM] for the binaries. Finally create [DefaultInstall] sections for each processor, and assign CopyFiles appropriately:<br><br>[DefaultInstall.STRONGARM]<br>CopyFiles = Files.Common, Files.STRONGARM<br>[DefaultInstall.SH3]<br>CopyFiles = Files.Common, Files.SH3<br><br>Dan East
User avatar
Dan East
Site Admin
 
Posts: 5264
Joined: Jan 25, 2001 @ 5:19pm
Location: Virginia, USA


Re: Installer for all CPU's?

Postby Dan East » Nov 9, 2001 @ 2:52pm

That all refers to your .inf file of course...<br><br>Dan East
User avatar
Dan East
Site Admin
 
Posts: 5264
Joined: Jan 25, 2001 @ 5:19pm
Location: Virginia, USA


Re: Installer for all CPU's?

Postby Birdiestyle » Nov 9, 2001 @ 3:23pm

Just outta curiousity, will that make 3 cab files each with the data in it, so in fact you will have the 9MB of data.. <br><br>I was going to investigate whether or not you can put one CAB file as the Data, which would not be Processor specific, and one cab for each of the EXE files, or does the Application Manager quit once it finds the first relevant CAB file in the setup.ini file... hmmmm..... I would guess this would be possible. But then I would think you would have a completely different INF file for the data.<br><br>????<br><br><br>
A <a href="http://www.birdsoft.biz">bird</a> in the hand...
User avatar
Birdiestyle
pm Member
 
Posts: 144
Joined: Nov 8, 2001 @ 5:42pm
Location: Wisconsin


Re: Installer for all CPU's?

Postby Phantom » Nov 10, 2001 @ 4:03am

My nutcracker.inf file contains the sections you mentioned. I execute cabwiz like this:<br>cabwiz nutcracker.inf /cpu ARM MIPS SH3<br>This results in three cabs, and since EasySetup takes one at a time, this results in three executable installers. What am I doing wrong? How can I compile to a single cab?<br>
Give me some good data and
I will give you the world
User avatar
Phantom
pm Insider
 
Posts: 913
Joined: Feb 21, 2001 @ 8:14am
Location: Houten, Netherlands


Re: Installer for all CPU's?

Postby Dan East » Nov 10, 2001 @ 9:04am

Okay, I had a brain lapse. That does of course create 3 seperate cab files. Here's another possible solution. Make a seperate CAB installer for all the shared files. Have your device-specific (your main) installer install that CAB file. Now, it may be possible that your main installer can directly launch and install the second cab file. If not, then you can create a very simple setup.dll that the installer will execute on the device. You can the just have that DLL CreateProcess or ShellExecuteEx the second CAB file to install it.<br><br>Dan East
User avatar
Dan East
Site Admin
 
Posts: 5264
Joined: Jan 25, 2001 @ 5:19pm
Location: Virginia, USA


Re: Installer for all CPU's?

Postby Phantom » Nov 10, 2001 @ 10:35am

Hm, OK. I think it's strange that there doesn't exist an installer tool that simply takes care of the CPU identification... Anyway, with all those new ARM devices, the problem will soon be gone. :) I got a suggestion by e-mail to simply put three installers in a single zip. Because of the huge amounts of identical data, this zip would be quite small. Crystal Balls is 2Mb unzipped, so I expect a 1Mb installer (it's all uncompressed .tga data), and I will thus indeed go for the zip file, even if it would be 3Mb. In fact, if it would be 1Mb, people might consider that 'suspiciously small'. :)
Give me some good data and
I will give you the world
User avatar
Phantom
pm Insider
 
Posts: 913
Joined: Feb 21, 2001 @ 8:14am
Location: Houten, Netherlands


Re: Installer for all CPU's?

Postby Dan East » Nov 10, 2001 @ 10:38am

EZInstaller compresses it up with gzip when it creates the installer exe. I don't know if you're using that or not.<br><br>Dan East
User avatar
Dan East
Site Admin
 
Posts: 5264
Joined: Jan 25, 2001 @ 5:19pm
Location: Virginia, USA


Re: Installer for all CPU's?

Postby Birdiestyle » Nov 10, 2001 @ 11:53am

  Hmmmm... I assumed that you were using a zip file already... <br>  Did you attempt to make four CAB files 1 each for the different EXE's and one that is device<br>non-specific, or isnt this possible... That way even your zip file would still only contain the compressed data once!<br>  <br>This would depend on two things,<br><br>1. You can make a CAB file that gets installed for all Processors thru the Inf (or its own INF).<br><br>2. When the App Mgr is reading the setup.ini file, it would continue after finding a CAB file that matches, to check the rest of the CAB files for another match, possibly in a 2nd component section. <br><br>If this doesnt work though you can simply call the Installer with your original INI file from your setup program, and then call an additional <br>INI file dealing only with the data. <br><br>But I would guess by the way that the INI file is setup that more than one [Component] can be installed, one component being the data and one being the actual program!!<br><br>Cool<br><br>B
A <a href="http://www.birdsoft.biz">bird</a> in the hand...
User avatar
Birdiestyle
pm Member
 
Posts: 144
Joined: Nov 8, 2001 @ 5:42pm
Location: Wisconsin


Re: Installer for all CPU's?

Postby Zensunni » Dec 12, 2001 @ 10:47pm

I'll be happy if this mess will be over..<br><br>future versions of pocketpc will only support arm processors, and hence cef will be ditched as well..<br><br>but then, that still might take a while :-)
when i read about the dangers of drinking, i stopped reading...
Zensunni
pm Member
 
Posts: 55
Joined: Dec 12, 2001 @ 10:26pm


Return to Phantom's Forum


Sort


Forum Description

Discuss any of Phantom's projects here (Operation Nutcracker, etc.)

Moderators:

sponge, RICoder, Phantom

Forum permissions

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

cron