Guest MoRFLeZ Posted July 16, 2003 Report Posted July 16, 2003 I've nosed around and found some sites and some tips and tricks. Mostly just copying other peoples work :oops: and then altering it to fit my needs. Basically I just want to be able to do something really simple, create a cabfile for eg Invasion.exe - (so it can be downloaded from the net and installed right away). Now I've actually managed to make a cab file, but even tho I tell my SPV to install it on my Storage Card, it installs on the Phone, so I must have messed up in the .inf file [Version] Signature = "$Windows NT$" Provider = "Orange" CESignature = "$Windows CE$" [CEStrings] AppName = "Invasion" [CEDevice.ARM720] ProcessorType = 0 [DefaultInstall] CEShortcuts = Shortcuts.All [sourceDisksNames] 1 = ,"Common files",, [sourceDisksFiles] Invasion.exe = 1 [CEStrings] AppName = Invasion InstallDir = %CE1%games%AppName% [shortcuts.All] Invasion,0,Invasion.exe [DefaultInstall] CopyFiles = CopyToHomeDir [DestinationDirs] CopyToHomeDir = 0,%CE1%%AppName% Shortcuts.All = 0,IPSMWindowsStart MenuGames [CopyToHomeDir] "Invasion.exe",Invasion.exe Any suggestions? :?
Guest MoRFLeZ Posted July 16, 2003 Report Posted July 16, 2003 Okay so I fooled around a bit with the DefaultInstall, which seems to be the problem, doing it like this: [DefaultInstall] CopyFiles = CopyToHomeDir [DestinationDirs] CopyToHomeDir = 35#,Storage CardProgram FilesInvasion CopyToHomeDirsc = 35#,IPSMWindowsStart Menugames "Solves" my problem, as it will install the program on my Storage Card, but then I can't install on the phone *duh*
Guest madu Posted July 17, 2003 Report Posted July 17, 2003 [DestinationDirs] CopyToHomeDir = 0,%CE1%%AppName% I think %CE1% means IPSM, so if I figure it right you need to add an extra option, ie: [DestinationDirs] CopyToHomeDir = 0,%CE1%%AppName% CopyToHomeDir = 1,%CE2%%AppName% Not sure though, check MSDN site for more info
Guest Brody Posted August 2, 2003 Report Posted August 2, 2003 Macro string Pocket PC directory %CE1% Program Files %CE2% Windows %CE4% WindowsStartUp %CE5% My Documents %CE8% Program FilesGames %CE11% WindowsStart MenuPrograms %CE14% WindowsStart MenuProgramsGames %CE15% WindowsFonts %CE17% WindowsStart Menu Taken from MSDN, should help :)
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now