Deployment - file generated on the fly during installation

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

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
 
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]" said:
You need to use RAPI to push file(s) to the device. Here's some sample code:

http://support.microsoft.com/default.aspx?scid=kb;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==?=" <[email protected]>
Subject: Deployment - file generated on the fly during installation
Date: Mon, 6 Dec 2004 14:55:01 -0800
Lines: 21
Message-ID: <[email protected]>
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
 
Back
Top