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

How to make installer install on Storage card???


How to make installer install on Storage card???

Postby DillRye » Jun 22, 2002 @ 4:14am

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
User avatar
DillRye
pm Insider
 
Posts: 477
Joined: Apr 25, 2002 @ 7:28am
Location: Iowa State University of Eng


Postby Michael Y » Jun 22, 2002 @ 4:31am

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.
User avatar
Michael Y
pm Insider
 
Posts: 1956
Joined: Feb 24, 2002 @ 2:27am


Installing to CD Card

Postby Conan » Jun 22, 2002 @ 7:02am

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.
What is Best in Life ?
User avatar
Conan
pm Member
 
Posts: 1309
Joined: Dec 24, 2001 @ 5:16am
Location: the Shades, Ankh-Morpock


Postby DillRye » Jun 22, 2002 @ 7:21am

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.....
User avatar
DillRye
pm Insider
 
Posts: 477
Joined: Apr 25, 2002 @ 7:28am
Location: Iowa State University of Eng


Install directories

Postby Conan » Jun 22, 2002 @ 8:04am

What is Best in Life ?
User avatar
Conan
pm Member
 
Posts: 1309
Joined: Dec 24, 2001 @ 5:16am
Location: the Shades, Ankh-Morpock


Postby DillRye » Jun 22, 2002 @ 8:32pm

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
User avatar
DillRye
pm Insider
 
Posts: 477
Joined: Apr 25, 2002 @ 7:28am
Location: Iowa State University of Eng


Postby Conan » Jun 23, 2002 @ 6:59am

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
What is Best in Life ?
User avatar
Conan
pm Member
 
Posts: 1309
Joined: Dec 24, 2001 @ 5:16am
Location: the Shades, Ankh-Morpock


Postby Guest » Jun 23, 2002 @ 6:48pm

Guest
 


Postby DillRye » Jun 24, 2002 @ 5:56am

User avatar
DillRye
pm Insider
 
Posts: 477
Joined: Apr 25, 2002 @ 7:28am
Location: Iowa State University of Eng


Return to Windows Mobile


Sort


Forum Description

A discussion forum for mobile device developers on the Windows Mobile platform. Any platform specific topics are welcome.

Moderators:

Dan East, sponge, Digby, David Horn, Kevin Gelso, RICoder

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