|
Next: Can get Storage Card Manufacturer ID in wince4.2
|
| Author |
Message |
External

Since: May 08, 2007 Posts: 7
|
(Msg. 1) Posted: Tue May 08, 2007 10:44 am
Post subject: WM5 Cab file prompt for location Archived from groups: microsoft>public>pocketpc>developer (more info?)
|
|
|
Hi,
I'm trying to port my app from a WM2003 device to WM5. When I am
installing my cab files on the
WM5 device, I am being prompted to, "Choose a location to install <cab
name>", with options for
"Device", "\SD Card", and "\Flash File Store".
How do I get the cab files to tell the installer that I don't want to
be prompted, that I know the destination location. The
DestinationDirs are set in the inf file that created the cab files.
My hardware is Intermec 761 (old) and the Intermec CN3 (new), if that
makes any difference.
Any help would be appreciated, Thanks.
Carlos |
|
| Back to top |
|
 |  |
External

Since: May 08, 2007 Posts: 6
|
(Msg. 2) Posted: Tue May 08, 2007 10:52 am
Post subject: Re: WM5 Cab file prompt for location [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
SwingCarlos wrote:
> Hi,
>
> I'm trying to port my app from a WM2003 device to WM5. When I am
> installing my cab files on the
> WM5 device, I am being prompted to, "Choose a location to install <cab
> name>", with options for
> "Device", "\SD Card", and "\Flash File Store".
>
> How do I get the cab files to tell the installer that I don't want to
> be prompted, that I know the destination location. The
> DestinationDirs are set in the inf file that created the cab files.
>
> My hardware is Intermec 761 (old) and the Intermec CN3 (new), if that
> makes any difference.
in your .inf file you should have something like:
[CEStrings]
InstallDir = %CE1%\Name
Remove or Rename 'InstallDir', if the installer sees that it prompts the
user which partition to use.
Riki
--
ThemeChanger and AbstractStart for Smartphone :
http://www.IfIHadADollarForEveryTimeSomeoneSaidThatIWouldHaveMyOwnWebsite.com/
I took the red pill. |
|
| Back to top |
|
 |  |
External

Since: May 08, 2007 Posts: 7
|
(Msg. 3) Posted: Tue May 08, 2007 1:59 pm
Post subject: Re: WM5 Cab file prompt for location [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
On May 8, 10:52 am, Riki <see_my_home@page> wrote:
> SwingCarlos wrote:
> > Hi,
>
> > I'm trying to port my app from a WM2003 device to WM5. When I am
> > installing my cab files on the
> > WM5 device, I am being prompted to, "Choose a location to install <cab
> > name>", with options for
> > "Device", "\SD Card", and "\Flash File Store".
>
> > How do I get the cab files to tell the installer that I don't want to
> > be prompted, that I know the destination location. The
> > DestinationDirs are set in the inf file that created the cab files.
>
> > My hardware is Intermec 761 (old) and the Intermec CN3 (new), if that
> > makes any difference.
>
> in your .inf file you should have something like:
> [CEStrings]
> InstallDir = %CE1%\Name
>
> Remove or Rename 'InstallDir', if the installer sees that it prompts the
> user which partition to use.
>
> Riki
>
> --
> ThemeChanger and AbstractStart for Smartphone :http://www.IfIHadADollarForEveryTimeSomeoneSaidThatIWouldHaveMyOwnWeb...
>
> I took the red pill.
Thanks Riki but...
I tried removing and renaming "InstallDir". Each time I get an error
popup dialog:
"Error: Section [CEStrings] key "InstallDir" requires valid data"
I've done some googling and the other threads i've found on this topic
stop right here.
Anybody,
Carlos |
|
| Back to top |
|
 |  |
External

Since: May 08, 2007 Posts: 6
|
(Msg. 4) Posted: Tue May 08, 2007 2:05 pm
Post subject: Re: WM5 Cab file prompt for location [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
SwingCarlos wrote:
>
> Thanks Riki but...
>
> I tried removing and renaming "InstallDir". Each time I get an error
> popup dialog:
> "Error: Section [CEStrings] key "InstallDir" requires valid data"
Can you post you .inf?
Riki
--
ThemeChanger and AbstractStart for Smartphone :
http://www.IfIHadADollarForEveryTimeSomeoneSaidThatIWouldHaveMyOwnWebsite.com/
life is what happens during long compiles. |
|
| Back to top |
|
 |  |
External

Since: May 08, 2007 Posts: 7
|
(Msg. 5) Posted: Tue May 08, 2007 2:18 pm
Post subject: Re: WM5 Cab file prompt for location [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
On May 8, 2:05 pm, Riki <see_my_home@page> wrote:
> SwingCarlos wrote:
>
> > Thanks Riki but...
>
> > I tried removing and renaming "InstallDir". Each time I get an error
> > popup dialog:
> > "Error: Section [CEStrings] key "InstallDir" requires valid data"
>
> Can you post you .inf?
>
> Riki
Below is the unaltered version.
I renamed InstallDir -> InstallDir1
and get the error message above.
- Carlos
[SOURCE FILE]
Name=Mims.cab
[Version]
Signature="$Chicago$"
Provider="Con-Way"
CESignature="$Windows CE$"
[CEStrings]
AppName="Mims"
InstallDir="\c"
[SourceDisksNames]
1=,"MIMS Files",,.
2=,"Sound Files",,..\sounds
[SourceDisksFiles]
"Mims.jar"=1
"Mims.lnk"=1
"DebugMims.lnk"=1
"MIMS.exe"=1
"Alarm1.wav"=2
"Alarm2.wav"=2
"Alarm3.wav"=2
"Alarm4.wav"=2
"goodread.wav"=2
"Infbeg.wav"=2
"Infend.wav"=2
"msgbox.wav"=2
"notify.wav"=2
"type.wav"=2
"online.wav"=2
[CopyFilesApp]
"Mims.jar",,,0x40000001
"Mims.lnk",,,0x40000001
"DebugMims.lnk",,,0x40000001
"MIMS.exe",,,0x40000001
[Sounds]
"Alarm1.wav",,,0x40000001
"Alarm2.wav",,,0x40000001
"Alarm3.wav",,,0x40000001
"Alarm4.wav",,,0x40000001
"goodread.wav",,,0x40000001
"Infbeg.wav",,,0x40000001
"Infend.wav",,,0x40000001
"msgbox.wav",,,0x40000001
"notify.wav",,,0x40000001
"type.wav",,,0x40000001
"online.wav",,,0x40000001
[PersistentFiles]
[CEShortcuts1]
"Mims.lnk",0,"Mims.lnk"
[DestinationDirs]
CopyFilesApp=0,%InstallDir%
CEShortcuts1=0,%CE11%
PersistentFiles=0,"\SD Card\MIMS Data"
Sounds=0,%InstallDir%\sounds
[DefaultInstall]
CopyFiles=CopyFilesApp,Sounds,PersistentFiles
CEShortcuts=CEShortcuts1 |
|
| Back to top |
|
 |  |
External

Since: May 08, 2007 Posts: 6
|
(Msg. 6) Posted: Tue May 08, 2007 4:45 pm
Post subject: Re: WM5 Cab file prompt for location [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
SwingCarlos wrote:
> On May 8, 2:05 pm, Riki <see_my_home@page> wrote:
>> SwingCarlos wrote:
>>
>>> Thanks Riki but...
>>> I tried removing and renaming "InstallDir". Each time I get an error
>>> popup dialog:
>>> "Error: Section [CEStrings] key "InstallDir" requires valid data"
>> Can you post you .inf?
>>
>> Riki
>
> Below is the unaltered version.
> I renamed InstallDir -> InstallDir1
> and get the error message above.
> - Carlos
>
>
> [SOURCE FILE]
> Name=Mims.cab
>
> [Version]
> Signature="$Chicago$"
> Provider="Con-Way"
> CESignature="$Windows CE$"
>
> [CEStrings]
> AppName="Mims"
> InstallDir="\c"
>
> [SourceDisksNames]
> 1=,"MIMS Files",,.
> 2=,"Sound Files",,..\sounds
>
> [SourceDisksFiles]
> "Mims.jar"=1
> "Mims.lnk"=1
> "DebugMims.lnk"=1
> "MIMS.exe"=1
> "Alarm1.wav"=2
> "Alarm2.wav"=2
> "Alarm3.wav"=2
> "Alarm4.wav"=2
> "goodread.wav"=2
> "Infbeg.wav"=2
> "Infend.wav"=2
> "msgbox.wav"=2
> "notify.wav"=2
> "type.wav"=2
> "online.wav"=2
>
> [CopyFilesApp]
> "Mims.jar",,,0x40000001
> "Mims.lnk",,,0x40000001
> "DebugMims.lnk",,,0x40000001
> "MIMS.exe",,,0x40000001
>
> [Sounds]
> "Alarm1.wav",,,0x40000001
> "Alarm2.wav",,,0x40000001
> "Alarm3.wav",,,0x40000001
> "Alarm4.wav",,,0x40000001
> "goodread.wav",,,0x40000001
> "Infbeg.wav",,,0x40000001
> "Infend.wav",,,0x40000001
> "msgbox.wav",,,0x40000001
> "notify.wav",,,0x40000001
> "type.wav",,,0x40000001
> "online.wav",,,0x40000001
>
> [PersistentFiles]
>
> [CEShortcuts1]
> "Mims.lnk",0,"Mims.lnk"
>
> [DestinationDirs]
> CopyFilesApp=0,%InstallDir%
> CEShortcuts1=0,%CE11%
> PersistentFiles=0,"\SD Card\MIMS Data"
> Sounds=0,%InstallDir%\sounds
>
> [DefaultInstall]
> CopyFiles=CopyFilesApp,Sounds,PersistentFiles
> CEShortcuts=CEShortcuts1
>
So you changed it too:
<---->
[SOURCE FILE]
Name=Mims.cab
[Version]
Signature="$Chicago$"
Provider="Con-Way"
CESignature="$Windows CE$"
[CEStrings]
AppName="Mims"
MyInstallDir="\c"
[SourceDisksNames]
1=,"MIMS Files",,.
2=,"Sound Files",,..\sounds
[SourceDisksFiles]
"Mims.jar"=1
"Mims.lnk"=1
"DebugMims.lnk"=1
"MIMS.exe"=1
"Alarm1.wav"=2
"Alarm2.wav"=2
"Alarm3.wav"=2
"Alarm4.wav"=2
"goodread.wav"=2
"Infbeg.wav"=2
"Infend.wav"=2
"msgbox.wav"=2
"notify.wav"=2
"type.wav"=2
"online.wav"=2
[CopyFilesApp]
"Mims.jar",,,0x40000001
"Mims.lnk",,,0x40000001
"DebugMims.lnk",,,0x40000001
"MIMS.exe",,,0x40000001
[Sounds]
"Alarm1.wav",,,0x40000001
"Alarm2.wav",,,0x40000001
"Alarm3.wav",,,0x40000001
"Alarm4.wav",,,0x40000001
"goodread.wav",,,0x40000001
"Infbeg.wav",,,0x40000001
"Infend.wav",,,0x40000001
"msgbox.wav",,,0x40000001
"notify.wav",,,0x40000001
"type.wav",,,0x40000001
"online.wav",,,0x40000001
[PersistentFiles]
[CEShortcuts1]
"Mims.lnk",0,"Mims.lnk"
[DestinationDirs]
CopyFilesApp=0,%MyInstallDir%
CEShortcuts1=0,%CE11%
PersistentFiles=0,"\SD Card\MIMS Data"
Sounds=0,%MyInstallDir%\sounds
[DefaultInstall]
CopyFiles=CopyFilesApp,Sounds,PersistentFiles
CEShortcuts=CEShortcuts1
<---->
Or something like that?
Riki
--
ThemeChanger and AbstractStart for Smartphone :
http://www.IfIHadADollarForEveryTimeSomeoneSaidThatIWouldHaveMyOwnWebsite.com/
Life is a tragedy for feelers and a comedy for thinkers. |
|
| Back to top |
|
 |  |
External

Since: Jun 04, 2005 Posts: 337
|
(Msg. 7) Posted: Tue May 08, 2007 4:56 pm
Post subject: Re: WM5 Cab file prompt for location [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
On 8 May 2007 10:44:10 -0700, SwingCarlos <SwingCarlos DeleteThis @comcast.net>
wrote:
>
>Hi,
>
>I'm trying to port my app from a WM2003 device to WM5. When I am
>installing my cab files on the
>WM5 device, I am being prompted to, "Choose a location to install <cab
>name>", with options for
>"Device", "\SD Card", and "\Flash File Store".
>
>How do I get the cab files to tell the installer that I don't want to
>be prompted, that I know the destination location. The
>DestinationDirs are set in the inf file that created the cab files.
>
>My hardware is Intermec 761 (old) and the Intermec CN3 (new), if that
>makes any difference.
>
>Any help would be appreciated, Thanks.
I just used google (http://groups.google.com/advanced_group_search) to
look up
silent install
in this newsgroup and got 31 hits. I took a quick look and am pretty
sure at least some will be useful, or at least intriguing.
>
>Carlos
-----------------------------------------
To reply to me, remove the underscores (_) from my email address (and please indicate which newsgroup and message).
Robert E. Zaret, eMVP
PenFact, Inc.
20 Park Plaza, Suite 478
Boston, MA 02116
www.penfact.com |
|
| Back to top |
|
 |  |
External

Since: May 08, 2007 Posts: 7
|
(Msg. 8) Posted: Tue May 08, 2007 5:05 pm
Post subject: Re: WM5 Cab file prompt for location [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
>
> So you changed it too:
> <---->
> [SOURCE FILE]
> Name=Mims.cab
>
> [Version]
> Signature="$Chicago$"
> Provider="Con-Way"
> CESignature="$Windows CE$"
>
> [CEStrings]
> AppName="Mims"
> MyInstallDir="\c"
## Edited out by Carlos ####
>
> <---->
> Or something like that?
>
> Riki
>
Yes, something like that. "InstallDir1" to be specific.
cabwiz complains about: "Error: Section [CEStrings] key "InstallDir"
requires valid data"
So, it appears that cabwiz is expecting there to be an "InstallDir"
string. And I've read
2 other threads end right at this point, without further discussion.
Carlos |
|
| Back to top |
|
 |  |
External

Since: May 08, 2007 Posts: 6
|
(Msg. 9) Posted: Tue May 08, 2007 5:22 pm
Post subject: Re: WM5 Cab file prompt for location [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
SwingCarlos wrote:
>> So you changed it too:
>> <---->
>> [SOURCE FILE]
>> Name=Mims.cab
>>
>> [Version]
>> Signature="$Chicago$"
>> Provider="Con-Way"
>> CESignature="$Windows CE$"
>>
>> [CEStrings]
>> AppName="Mims"
>> MyInstallDir="\c"
>
> ## Edited out by Carlos ####
>
>> <---->
>> Or something like that?
>>
>> Riki
>>
>
> Yes, something like that. "InstallDir1" to be specific.
> cabwiz complains about: "Error: Section [CEStrings] key "InstallDir"
> requires valid data"
>
> So, it appears that cabwiz is expecting there to be an "InstallDir"
> string. And I've read
> 2 other threads end right at this point, without further discussion.
I'll give that a quick try later, but you also changed the two strings
in the DestinationDirs section too?
<--snip-->
[DestinationDirs]
CopyFilesApp=0,%MyInstallDir%
<--snip-->
Sounds=0,%MyInstallDir%\sounds
<--snip-->
Riki
--
ThemeChanger and AbstractStart for Smartphone :
http://www.IfIHadADollarForEveryTimeSomeoneSaidThatIWouldHaveMyOwnWebsite.com/
Nothing resolves design issues quite like an implementation.-- Prof.
J.D. Horton, UNB |
|
| Back to top |
|
 |  |
External

Since: May 01, 2006 Posts: 16
|
(Msg. 10) Posted: Tue May 08, 2007 8:15 pm
Post subject: Re: WM5 Cab file prompt for location [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
SwingCarlos wrote:
> Yes, something like that. "InstallDir1" to be specific.
> cabwiz complains about: "Error: Section [CEStrings] key "InstallDir"
> requires valid data"
>
> So, it appears that cabwiz is expecting there to be an "InstallDir"
> string. And I've read
> 2 other threads end right at this point, without further discussion.
what cabwiz are you using? IE from which SDK?
Riki
--
ThemeChanger and AbstractStart for Smartphone :
http://www.IfIHadADollarForEveryTimeSomeoneSaidThatIWouldHaveMyOwnWebiste.com/
I have had a perfectly wonderful evening, but this wasn't it. |
|
| Back to top |
|
 |  |
External

Since: May 08, 2007 Posts: 7
|
(Msg. 11) Posted: Wed May 09, 2007 10:58 am
Post subject: Re: WM5 Cab file prompt for location [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
> > So, it appears that cabwiz is expecting there to be an "InstallDir"
> > string. And I've read
> > 2 other threads end right at this point, without further discussion.
>
> what cabwiz are you using? IE from which SDK?
>
> Riki
Whatever the trial Visual Studio 2005 is. The full path to cabwiz is:
"C:\Program Files\Microsoft Visual Studio 8\SmartDevices\SDK\SDKTools
\cabwiz.exe"
Do different versions of cabwiz enforce different requiremens of
the .inf files?
Carlos |
|
| Back to top |
|
 |  |
External

Since: May 01, 2006 Posts: 16
|
(Msg. 12) Posted: Thu May 10, 2007 10:09 pm
Post subject: Re: WM5 Cab file prompt for location [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
Try
<--snip-->
[SOURCE FILE]
Name=Mims.cab
[Version]
Signature="$Chicago$"
Provider="Con-Way"
CESignature="$Windows CE$"
[CEStrings]
AppName="Mims"
[Strings]
MyInstallDir="\c"
[SourceDisksNames]
1=,"MIMS Files",,.
2=,"Sound Files",,..\sounds
[SourceDisksFiles]
"Mims.jar"=1
"Mims.lnk"=1
"DebugMims.lnk"=1
"MIMS.exe"=1
"Alarm1.wav"=2
"Alarm2.wav"=2
"Alarm3.wav"=2
"Alarm4.wav"=2
"goodread.wav"=2
"Infbeg.wav"=2
"Infend.wav"=2
"msgbox.wav"=2
"notify.wav"=2
"type.wav"=2
"online.wav"=2
[CopyFilesApp]
"Mims.jar",,,0x40000001
"Mims.lnk",,,0x40000001
"DebugMims.lnk",,,0x40000001
"MIMS.exe",,,0x40000001
[Sounds]
"Alarm1.wav",,,0x40000001
"Alarm2.wav",,,0x40000001
"Alarm3.wav",,,0x40000001
"Alarm4.wav",,,0x40000001
"goodread.wav",,,0x40000001
"Infbeg.wav",,,0x40000001
"Infend.wav",,,0x40000001
"msgbox.wav",,,0x40000001
"notify.wav",,,0x40000001
"type.wav",,,0x40000001
"online.wav",,,0x40000001
[PersistentFiles]
[CEShortcuts1]
"Mims.lnk",0,"Mims.lnk"
[DestinationDirs]
CopyFilesApp=0,%MyInstallDir%
CEShortcuts1=0,%CE11%
PersistentFiles=0,"\SD Card\MIMS Data"
Sounds=0,%MyInstallDir%\sounds
[DefaultInstall]
CopyFiles=CopyFilesApp,Sounds,PersistentFiles
CEShortcuts=CEShortcuts1
<--snipp-->
Riki
--
ThemeChanger and AbstractStart for Smartphone :
http://www.IfIHadADollarForEveryTimeSomeoneSaidThatIWouldHaveMyOwnWebiste.com/
I believe that X is ten. I'm an existentialist. |
|
| Back to top |
|
 |  |
| Related Topics: | Command Prompt for Windows Mobile 5.0? - Is there a command prompt available for Windows Mobile 5.0? PocketConsole and PocketCMD along with the Microsoft command prompt don't work with WM5. Thanks
Build solution from command prompt in Visual Studio 2005 - Hi, I am porting my application from evc++ to Visual Studio 2005. I was building cab file form a batch file. I built the projects with NMAKE. In evc++ there is a feature to Export Makefile. Using this feature i was able to create .vcn file that can be..
location of the photos taken by the camera - is the location of the photos created by the built-in camera always "\My Documents\My Pictures\"? if not, what is the API to determine the folder where the photos are created (when using the built-in camera)?
CAB for WM5 and location dialog - How i can skip the location dialog while installation is running?
Pocket Outlook Email Signature Location - Does anyone know where outlook mobile stores the text of its email signature? I'm trying to complete the following project and just stumped by this last thing. http://www.binaryrefinery.com/main/PermaLink,guid,e63c722f-5798-4fee-8764-f787b46ee29d.aspx ... |
|
You can post new topics in this forum You can reply to topics in this forum You can edit your posts in this forum You can delete your posts in this forum You can vote in polls in this forum
|
|
|
|