PC Review


Reply
Thread Tools Rate Thread

Deployment - file generated on the fly during installation

 
 
=?Utf-8?B?U2VyZ2VWTQ==?=
Guest
Posts: n/a
 
      6th Dec 2004
I have a setup project for a compact framework application. The setup is
performed from the user's desktop, and I call the CeAppManager by means of a
Custom Installer assembly in order to install the app on the Pocket PC. All
this works fine.

I have included a custom dialog in the setup project in which I ask the user
to specify some information which configures the web service that should be
used by the mobile application. I need this information to be stored in an
xml file, and save that xml file on the device in the application folder.

However, I don't have a clue about how to proceed to get this additional
step done. I could include the creation of an xml file in the custom
installer component, but I don't know how I can get the file copied on the
device. If I'm correct, it's NOT simply a matter of including the file in the
"File System" information of the setup project, because it is not yet created
at setup project compile time.

I would appreciate it if you guys could point me to the right direction to
resolve this ...

However, I do
 
Reply With Quote
 
 
 
 
Ilya Tumanov [MS]
Guest
Posts: n/a
 
      7th Dec 2004
You need to use RAPI to push file(s) to the device. Here's some sample code:

http://support.microsoft.com/default...b;en-us;307256

Best regards,

Ilya

This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
> Thread-Topic: Deployment - file generated on the fly during installation
> thread-index: AcTb5p4aJTCNlSgXT+GacqyyzRMOAQ==
> X-WBNR-Posting-Host: 213.224.88.85
> From: "=?Utf-8?B?U2VyZ2VWTQ==?=" <(E-Mail Removed)>
> Subject: Deployment - file generated on the fly during installation
> Date: Mon, 6 Dec 2004 14:55:01 -0800
> Lines: 21
> Message-ID: <3D762FA8-82A6-4389-9E12-(E-Mail Removed)>
> MIME-Version: 1.0
> Content-Type: text/plain;
> charset="Utf-8"
> Content-Transfer-Encoding: 7bit
> X-Newsreader: Microsoft CDO for Windows 2000
> Content-Class: urn:content-classes:message
> Importance: normal
> Priority: normal
> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
> Newsgroups: microsoft.public.dotnet.framework.compactframework
> NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.1.29
> Path:

cpmsftngxa10.phx.gbl!TK2MSFTFEED01.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGXA0
3.phx.gbl
> Xref: cpmsftngxa10.phx.gbl

microsoft.public.dotnet.framework.compactframework:66411
> X-Tomcat-NG: microsoft.public.dotnet.framework.compactframework
>
> I have a setup project for a compact framework application. The setup is
> performed from the user's desktop, and I call the CeAppManager by means

of a
> Custom Installer assembly in order to install the app on the Pocket PC.

All
> this works fine.
>
> I have included a custom dialog in the setup project in which I ask the

user
> to specify some information which configures the web service that should

be
> used by the mobile application. I need this information to be stored in

an
> xml file, and save that xml file on the device in the application folder.
>
> However, I don't have a clue about how to proceed to get this additional
> step done. I could include the creation of an xml file in the custom
> installer component, but I don't know how I can get the file copied on

the
> device. If I'm correct, it's NOT simply a matter of including the file in

the
> "File System" information of the setup project, because it is not yet

created
> at setup project compile time.
>
> I would appreciate it if you guys could point me to the right direction

to
> resolve this ...
>
> However, I do
>


 
Reply With Quote
 
=?Utf-8?B?U2VyZ2VWTQ==?=
Guest
Posts: n/a
 
      7th Dec 2004
Thank you. Will try to ...

I think I can use the wrappers from OpenNetCF.org to use this in my
installer classes.

""Ilya Tumanov [MS]"" wrote:

> You need to use RAPI to push file(s) to the device. Here's some sample code:
>
> http://support.microsoft.com/default...b;en-us;307256
>
> Best regards,
>
> Ilya
>
> This posting is provided "AS IS" with no warranties, and confers no rights.
> --------------------
> > Thread-Topic: Deployment - file generated on the fly during installation
> > thread-index: AcTb5p4aJTCNlSgXT+GacqyyzRMOAQ==
> > X-WBNR-Posting-Host: 213.224.88.85
> > From: "=?Utf-8?B?U2VyZ2VWTQ==?=" <(E-Mail Removed)>
> > Subject: Deployment - file generated on the fly during installation
> > Date: Mon, 6 Dec 2004 14:55:01 -0800
> > Lines: 21
> > Message-ID: <3D762FA8-82A6-4389-9E12-(E-Mail Removed)>
> > MIME-Version: 1.0
> > Content-Type: text/plain;
> > charset="Utf-8"
> > Content-Transfer-Encoding: 7bit
> > X-Newsreader: Microsoft CDO for Windows 2000
> > Content-Class: urn:content-classes:message
> > Importance: normal
> > Priority: normal
> > X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
> > Newsgroups: microsoft.public.dotnet.framework.compactframework
> > NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.1.29
> > Path:

> cpmsftngxa10.phx.gbl!TK2MSFTFEED01.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGXA0
> 3.phx.gbl
> > Xref: cpmsftngxa10.phx.gbl

> microsoft.public.dotnet.framework.compactframework:66411
> > X-Tomcat-NG: microsoft.public.dotnet.framework.compactframework
> >
> > I have a setup project for a compact framework application. The setup is
> > performed from the user's desktop, and I call the CeAppManager by means

> of a
> > Custom Installer assembly in order to install the app on the Pocket PC.

> All
> > this works fine.
> >
> > I have included a custom dialog in the setup project in which I ask the

> user
> > to specify some information which configures the web service that should

> be
> > used by the mobile application. I need this information to be stored in

> an
> > xml file, and save that xml file on the device in the application folder.
> >
> > However, I don't have a clue about how to proceed to get this additional
> > step done. I could include the creation of an xml file in the custom
> > installer component, but I don't know how I can get the file copied on

> the
> > device. If I'm correct, it's NOT simply a matter of including the file in

> the
> > "File System" information of the setup project, because it is not yet

> created
> > at setup project compile time.
> >
> > I would appreciate it if you guys could point me to the right direction

> to
> > resolve this ...
> >
> > However, I do
> >

>
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Installation ID not Generated from Genuine XP CDub Windows XP Basics 7 2nd Dec 2007 06:28 AM
Defeneder installation for Deployment =?Utf-8?B?TkZDVGVjaA==?= Anti-Spyware Installation 0 6th Jul 2006 12:53 AM
ProfileCommon Runtime error using web deployment proj generated ou =?Utf-8?B?THlubmU=?= Microsoft ASP .NET 5 24th Apr 2006 04:46 PM
Errors.log generated during installation =?Utf-8?B?RGF2aWQ=?= Anti-Spyware Installation 4 15th Feb 2006 10:08 PM
Problem with Shortcut Generated by Deployment Project TC Microsoft VB .NET 3 21st Sep 2005 12:24 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:32 AM.