Page 1 of 1

How to make installer install on Storage card???

PostPosted: Jun 22, 2002 @ 4:14am
by DillRye
Ok, so I compressed the cabs using cabwiz, I am using ezsetup to compress and install the program, but now It will only install in the on device dir(in main memory). I don't think the problem is inherent in the installer, It seems to me that the cab is what directs it where to install. Is there anyway I can make this dynamic??

Thank you,
Dylan Ryan

PostPosted: Jun 22, 2002 @ 4:31am
by Michael Y
As far as I know, you merely place the CAB file in the storage card (\Storage Card). At least that's all that ActiveSync does when you choose to install to a card.

Installing to CD Card

PostPosted: Jun 22, 2002 @ 7:02am
by Conan
Do you mean that you want to force the installer to go outside main memory using .inf file options?

During the normal install process the user gets the choice 'install [name of program] using the default application install directory?' If you say no to this question you get a drop down list 'Select Destination Media' with main memory or storage card as the options.

PostPosted: Jun 22, 2002 @ 7:21am
by DillRye
Conan, I must be doing something wrong because it gives me that option, I can do it, but then it just goes ahead and installs in the directory that the cab uses.....

Install directories

PostPosted: Jun 22, 2002 @ 8:04am
by Conan

PostPosted: Jun 22, 2002 @ 8:32pm
by DillRye
So, heres my file, as far as I can see I specify the dir, but it will only install on main memory.

[Version]
Signature = "$Windows NT$"
Provider = "DR Creations"
CESignature = "$Windows CE$"

[CEStrings]
AppName="Particle Panic"
InstallDir=%CE8%\%AppName%

[Strings]
sh3_cpu = 10003
sh4_cpu = 10005
mips_cpu = 4000
strongarm_cpu = 2577
armcpu = 1824
reg_path = Software\%AppName%

[CEDevice]
UnsupportedPlatforms = "Jupiter","HPC" ; Does not support pltfrm1
VersionMin = 3.0
VersionMax = 3.01

[CEDevice.ARM]
ProcessorType = %arm_cpu%

[CEDevice.MIPS]
ProcessorType = %mips_cpu%

[CEDevice.SH3]
ProcessorType = %sh3_cpu%

[CEDevice.SA]
ProcessorType = %strongarm_cpu%

[DefaultInstall]
CopyFiles = Files.Application, Files.Shared
AddReg = RegSettings
CEShortcuts = Shortcuts

[SourceDisksNames]
1 = ,"Common files",,Platform

[SourceDisksNames.ARM]
2 = ,"ARM files",,ARMRel

[SourceDisksNames.MIPS]
2 = ,"MIPS files",,MIPSRel

[SourceDisksNames.SA]
2 = ,"ARM files",,ARMRel

[SourceDisksNames.SH3]
2 = ,"SH3 files",,SH3Rel

[SourceDisksFiles]
pop.wav =1
bonus.wav =1
music.mod =1
settings.inf =1

Particle Panic.exe =2
GD101.dll =2
gx.dll =2


[DestinationDirs]
Files.Application = 0,%CE8%\%AppName% ;\Target\AppName
Files.Shared = 0,%CE2% ;\Windows
Shortcuts = 0,%CE2%\Help ;\Windows\Help

[Files.Application]
"Particle Panic.exe",,,0x00000001 ; rename, and warn if skipped
"pop.wav",,,0x00000001
"bonus.wav",,,0x00000001
"music.mod",,,0x00000001
"settings.inf",,,0x00000001

[Files.Shared]
"GD101.dll",,, 0x20000000 ; rename, and mark as shared
"gx.dll",,, 0x20000000

[Shortcuts]
%AppName%,0,Particle Panic.exe,%CE14%

[RegSettings]
;HKLM,Windows CE Services\Synchronization\Objects\YourAppSync,Store,0,\Windows\DevYourAppSync.dll

PostPosted: Jun 23, 2002 @ 6:59am
by Conan
I think your destination dir is wrong. I looked through all the CE .inf files I have & almost all use something beginning with InstallDir=%CE1%\ and only a few small samples used CE8
Can you try changing [CEStrings] and [DestinationDirs]
Files.Application = 0,%CE1%\%AppName% ;\Target\AppName

PostPosted: Jun 23, 2002 @ 6:48pm
by Guest

PostPosted: Jun 24, 2002 @ 5:56am
by DillRye