Guest MoRFLeZ Posted September 20, 2005 Report Posted September 20, 2005 Having a little trouble with a cabfile I created, it will install fine, even ask if I want to install on phone memory or sd memory - but no matter what I choose, it automatically installs on phone memory! Been working on this bugger for months, and nothing helps. Found a tweak that made sure it installed on the SD card, but then it wouldn't install on the phone memory (DUH). Any help would be appreciated. This is the inf file code: [Version] Signature = $Windows NT$ Provider = MoRFLeZ - CESignature = "$Windows CE$" [CEStrings] AppName = SPVPortal InstallDir = %CE1%%AppName% [DestinationDirs] CopyToWindows = 0,%InstallDir% Shortcuts = 0,%CE11% [shortcuts] SPV Portal,0,main.html [CEDevice.ARM720] ProcessorType = 0 [DefaultInstall] CopyFiles = InstallDir1, InstallDir2, InstallDir3, InstallDir4, InstallDir5, InstallDir6, InstallDir7 AddReg = RegSettings.All CEShortcuts = Shortcuts [sourceDisksNames] 1 = , "SourceDir1",,SPVPortal 2 = , "SourceDir2",,baggrunde 3 = , "SourceDir3",,ikoner 4 = , "SourceDir4",,nyheder 5 = , "SourceDir4",,nyhedsikoner 6 = , "SourceDir4",,radio 7 = , "SourceDir4",,radioikoner [sourceDisksFiles] andet.html = 1 debat.html = 1 download.html = 1 email.html = 1 film.html = 1 games.html = 1 gprs.html = 1 humor.html = 1 info.html = 1 lexica.html = 1 mad.html = 1 main.html = 1 main2.html = 1 musik.html = 1 nyhedermain.html = 1 radio.html = 1 rejse.html = 1 shopping.html = 1 smolfenavn.html = 1 sogning.html = 1 spvportal.html = 1 textamerica.html = 1 tilbage.gif = 1 tv.html = 1 xxx.html = 1 main1.gif = 2 main2.gif = 2 andet.gif = 3 debat.gif = 3 download.gif = 3 email.gif = 3 film.gif = 3 games.gif = 3 girls.gif = 3 gprs.gif = 3 humor.gif = 3 lexica.gif = 3 mad.gif = 3 musik.gif = 3 nyheder.gif = 3 papasmurf.gif = 3 radio.gif = 3 rejse.gif = 3 shopping.gif = 3 sogning.gif = 3 spvportal.gif = 3 textamerica.gif = 3 tv.gif = 3 nyhederaviser.html = 4 nyhederindland.html = 4 nyhederlotto.html = 4 nyhederoddset.html = 4 nyhederppc.html = 4 nyhedersport.html = 4 nyhederspv.html = 4 nyhedertech.html = 4 nyhederudland.html = 4 nyhedervejret.html = 4 nyhederaviser.gif = 5 nyhederindland.gif = 5 nyhederlotto.gif = 5 nyhederppc.gif = 5 nyhedersport.gif = 5 nyhederspv.gif = 5 nyhedertech.gif = 5 nyhederudland.gif = 5 nyhedervejret.gif = 5 boogie.html = 6 ghetto.html = 6 jazz.html = 6 p1.html = 6 p2.html = 6 p3.html = 6 rock.html = 6 soft.html = 6 radioboogie.gif = 7 radioghetto.gif = 7 radiojazz.gif = 7 radiop1.gif = 7 radiop2.gif = 7 radiop3.gif = 7 radiorock.gif = 7 radiosoft.gif = 7 [DestinationDirs] InstallDir1 = 0, %CE1%\SPVPortal InstallDir2 = 0, %CE1%\SPVPortal\baggrunde InstallDir3 = 0, %CE1%\SPVPortal\ikoner InstallDir4 = 0, %CE1%\SPVPortal\nyheder InstallDir5 = 0, %CE1%\SPVPortal\nyhedsikoner InstallDir6 = 0, %CE1%\SPVPortal\radio InstallDir7 = 0, %CE1%\SPVPortal\radioikoner [installDir1] "andet.html",andet.html "debat.html",debat.html "download.html",download.html "email.html",email.html "film.html",film.html "games.html",games.html "gprs.html",gprs.html "humor.html",humor.html "info.html",info.html "lexica.html",lexica.html "mad.html",mad.html "main.html",main.html "main2.html",main2.html "musik.html",musik.html "nyhedermain.html",nyhedermain.html "radio.html",radio.html "rejse.html",rejse.html "shopping.html",shopping.html "smolfenavn.html",smolfenavn.html "sogning.html",sogning.html "spvportal.html",spvportal.html "textamerica.html",textamerica.html "tilbage.gif",tilbage.gif "tv.html",tv.html "xxx.html",xxx.html [installDir2] "main1.gif",main1.gif "main2.gif",main2.gif [installDir3] "andet.gif",andet.gif "debat.gif",debat.gif "download.gif",download.gif "email.gif",email.gif "film.gif",film.gif "games.gif",games.gif "girls.gif",girls.gif "gprs.gif",gprs.gif "humor.gif",humor.gif "lexica.gif",lexica.gif "mad.gif",mad.gif "musik.gif",musik.gif "nyheder.gif",nyheder.gif "papasmurf.gif",papasmurf.gif "radio.gif",radio.gif "rejse.gif",rejse.gif "shopping.gif",shopping.gif "sogning.gif",sogning.gif "spvportal.gif",spvportal.gif "textamerica.gif",textamerica.gif "tv.gif",tv.gif [installDir4] "nyhederaviser.html",nyhederaviser.html "nyhederindland.html",nyhederindland.html "nyhederlotto.html",nyhederlotto.html "nyhederoddset.html",nyhederoddset.html "nyhederppc.html",nyhederppc.html "nyhedersport.html",nyhedersport.html "nyhederspv.html",nyhederspv.html "nyhedertech.html",nyhedertech.html "nyhederudland.html",nyhederudland.html "nyhedervejret.html",nyhedervejret.html [installDir5] "nyhederaviser.gif",nyhederaviser.gif "nyhederindland.gif",nyhederindland.gif "nyhederlotto.gif",nyhederlotto.gif "nyhederppc.gif",nyhederppc.gif "nyhedersport.gif",nyhedersport.gif "nyhederspv.gif",nyhederspv.gif "nyhedertech.gif",nyhedertech.gif "nyhederudland.gif",nyhederudland.gif "nyhedervejret.gif",nyhedervejret.gif [installDir6] "boogie.html",boogie.html "ghetto.html",ghetto.html "jazz.html",jazz.html "p1.html",p1.html "p2.html",p2.html "p3.html",p3.html "rock.html",rock.html "soft.html",soft.html [installDir7] "radioboogie.gif",radioboogie.gif "radioghetto.gif",radioghetto.gif "radiojazz.gif",radiojazz.gif "radiop1.gif",radiop1.gif "radiop2.gif",radiop2.gif "radiop3.gif",radiop3.gif "radiorock.gif",radiorock.gif "radiosoft.gif",radiosoft.gif
Guest chucky.egg Posted September 20, 2005 Report Posted September 20, 2005 AFAIK (and I'm no expert on this stuff) the %CEx% values will always default to Storage, and you have to hard code them if you want the files to go somewhere else. If a default storage volume is present on the device, the default storage volume string is added to the beginning of the listed directory. For example, if the default storage volume is Storage, %CE1% is automatically changed to \Storage\Program Files when a CE directory identifier is used. http://msdn.microsoft.com/library/default....wsCEStrings.asp
Guest MoRFLeZ Posted September 20, 2005 Report Posted September 20, 2005 Hmmmm that's odd .. I wonder what I have to type then, cause I'm fairly sure I managed to do it right waaaaaay back.
Guest gpcarreon (MVP) Posted September 21, 2005 Report Posted September 21, 2005 Morf, Not an expert either but...if it is OK with you, can you send me a copy of the CAB file? I'll see what I can do. Thanks. :o
Guest gpcarreon (MVP) Posted September 21, 2005 Report Posted September 21, 2005 Yeah thx a lot pzee!!!! <{POST_SNAPBACK}> PM for you. :o
Guest chucky.egg Posted September 21, 2005 Report Posted September 21, 2005 If you guys fix it can you post the solution so we can share? Cheers
Guest gpcarreon (MVP) Posted September 21, 2005 Report Posted September 21, 2005 Sure. Here is an INF for a CAB file which will install on the Phone or the Storage Card...depends which target location you choose. :o [Version] Signature="$Chicago$" CESignature="$Windows CE$" Provider="MoRFLeZ" [CEStrings] AppName="SPVPortal" InstallDir="%CE1%\SPVPortal" [CEDevice] ProcessorType=0 [SourceDisksNames] 1=,Source1,,"[PROGRAM FILES]\SPVPortal\baggrunde" 2=,Source2,,"[PROGRAM FILES]\SPVPortal\ikoner" 3=,Source3,,"[PROGRAM FILES]\SPVPortal\nyheder" 4=,Source4,,"[PROGRAM FILES]\SPVPortal\nyhedsikoner" 5=,Source5,,"[PROGRAM FILES]\SPVPortal\radio" 6=,Source6,,"[PROGRAM FILES]\SPVPortal\radioikoner" 7=,Source7,,"[PROGRAM FILES]\SPVPortal" [SourceDisksFiles] "main1.gif"=1 "main2.gif"=1 "andet.gif"=2 "debat.gif"=2 "download.gif"=2 "email.gif"=2 "film.gif"=2 "games.gif"=2 "girls.gif"=2 "gprs.gif"=2 "humor.gif"=2 "lexica.gif"=2 "mad.gif"=2 "musik.gif"=2 "nyheder.gif"=2 "papasmurf.gif"=2 "radio.gif"=2 "rejse.gif"=2 "shopping.gif"=2 "sogning.gif"=2 "spvportal.gif"=2 "textamerica.gif"=2 "tv.gif"=2 "nyhederaviser.html"=3 "nyhederindland.html"=3 "nyhederlotto.html"=3 "nyhederoddset.html"=3 "nyhederppc.html"=3 "nyhedersport.html"=3 "nyhederspv.html"=3 "nyhedertech.html"=3 "nyhederudland.html"=3 "nyhedervejret.html"=3 "nyhederaviser.gif"=4 "nyhederindland.gif"=4 "nyhederlotto.gif"=4 "nyhederppc.gif"=4 "nyhedersport.gif"=4 "nyhederspv.gif"=4 "nyhedertech.gif"=4 "nyhederudland.gif"=4 "nyhedervejret.gif"=4 "boogie.html"=5 "ghetto.html"=5 "jazz.html"=5 "p1.html"=5 "p2.html"=5 "p3.html"=5 "rock.html"=5 "soft.html"=5 "radioboogie.gif"=6 "radioghetto.gif"=6 "radiojazz.gif"=6 "radiop1.gif"=6 "radiop2.gif"=6 "radiop3.gif"=6 "radiorock.gif"=6 "radiosoft.gif"=6 "andet.html"=7 "debat.html"=7 "download.html"=7 "email.html"=7 "film.html"=7 "games.html"=7 "gprs.html"=7 "humor.html"=7 "info.html"=7 "lexica.html"=7 "mad.html"=7 "main.html"=7 "main2.html"=7 "musik.html"=7 "nyhedermain.html"=7 "radio.html"=7 "rejse.html"=7 "shopping.html"=7 "smolfenavn.html"=7 "sogning.html"=7 "spvportal.html"=7 "textamerica.html"=7 "tilbage.gif"=7 "tv.html"=7 "xxx.html"=7 [CopyFiles1] "main1.gif",,,0x00000000 "main2.gif",,,0x00000000 [CopyFiles2] "andet.gif",,,0x00000000 "debat.gif",,,0x00000000 "download.gif",,,0x00000000 "email.gif",,,0x00000000 "film.gif",,,0x00000000 "games.gif",,,0x00000000 "girls.gif",,,0x00000000 "gprs.gif",,,0x00000000 "humor.gif",,,0x00000000 "lexica.gif",,,0x00000000 "mad.gif",,,0x00000000 "musik.gif",,,0x00000000 "nyheder.gif",,,0x00000000 "papasmurf.gif",,,0x00000000 "radio.gif",,,0x00000000 "rejse.gif",,,0x00000000 "shopping.gif",,,0x00000000 "sogning.gif",,,0x00000000 "spvportal.gif",,,0x00000000 "textamerica.gif",,,0x00000000 "tv.gif",,,0x00000000 [CopyFiles3] "nyhederaviser.html",,,0x00000000 "nyhederindland.html",,,0x00000000 "nyhederlotto.html",,,0x00000000 "nyhederoddset.html",,,0x00000000 "nyhederppc.html",,,0x00000000 "nyhedersport.html",,,0x00000000 "nyhederspv.html",,,0x00000000 "nyhedertech.html",,,0x00000000 "nyhederudland.html",,,0x00000000 "nyhedervejret.html",,,0x00000000 [CopyFiles4] "nyhederaviser.gif",,,0x00000000 "nyhederindland.gif",,,0x00000000 "nyhederlotto.gif",,,0x00000000 "nyhederppc.gif",,,0x00000000 "nyhedersport.gif",,,0x00000000 "nyhederspv.gif",,,0x00000000 "nyhedertech.gif",,,0x00000000 "nyhederudland.gif",,,0x00000000 "nyhedervejret.gif",,,0x00000000 [CopyFiles5] "boogie.html",,,0x00000000 "ghetto.html",,,0x00000000 "jazz.html",,,0x00000000 "p1.html",,,0x00000000 "p2.html",,,0x00000000 "p3.html",,,0x00000000 "rock.html",,,0x00000000 "soft.html",,,0x00000000 [CopyFiles6] "radioboogie.gif",,,0x00000000 "radioghetto.gif",,,0x00000000 "radiojazz.gif",,,0x00000000 "radiop1.gif",,,0x00000000 "radiop2.gif",,,0x00000000 "radiop3.gif",,,0x00000000 "radiorock.gif",,,0x00000000 "radiosoft.gif",,,0x00000000 [CopyFiles7] "andet.html",,,0x00000000 "debat.html",,,0x00000000 "download.html",,,0x00000000 "email.html",,,0x00000000 "film.html",,,0x00000000 "games.html",,,0x00000000 "gprs.html",,,0x00000000 "humor.html",,,0x00000000 "info.html",,,0x00000000 "lexica.html",,,0x00000000 "mad.html",,,0x00000000 "main.html",,,0x00000000 "main2.html",,,0x00000000 "musik.html",,,0x00000000 "nyhedermain.html",,,0x00000000 "radio.html",,,0x00000000 "rejse.html",,,0x00000000 "shopping.html",,,0x00000000 "smolfenavn.html",,,0x00000000 "sogning.html",,,0x00000000 "spvportal.html",,,0x00000000 "textamerica.html",,,0x00000000 "tilbage.gif",,,0x00000000 "tv.html",,,0x00000000 "xxx.html",,,0x00000000 [CEShortcuts1] "SPV Portal.lnk",0,"main.html" [DestinationDirs] CopyFiles1=0,"%InstallDir%\baggrunde" CopyFiles2=0,"%InstallDir%\ikoner" CopyFiles3=0,"%InstallDir%\nyheder" CopyFiles4=0,"%InstallDir%\nyhedsikoner" CopyFiles5=0,"%InstallDir%\radio" CopyFiles6=0,"%InstallDir%\radioikoner" CopyFiles7=0,"%InstallDir%" CEShortcuts1=0,"%CE11%" [DefaultInstall] CopyFiles=CopyFiles1,CopyFiles2,CopyFiles3,CopyFiles4,CopyFiles5,CopyFiles6,Copy iles7 CEShortcuts=CEShortcuts1
Guest chucky.egg Posted September 22, 2005 Report Posted September 22, 2005 Ah, OK Looks like the only difference is the InstallDir: - Slash between %CE1% and the folder name - Hard coded App Name for the folder name Have I missed something else?
Guest MoRFLeZ Posted September 22, 2005 Report Posted September 22, 2005 Hehe I'm tempted to shout DUH 1 million times!!! But at least it works *S*S* Thx a lot for the help...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now