Silent Compact Framework SP Install Possible?

G

Guest

Hi group,

Is it possible to desploy the dotnet CF SP3 to a Mobile 2003 device with SP1
in "Silent mode".
This means:
- no "Previous Version Installed, Reinstall?",
- and no "Confirm File Replace?" messageboxes during the installation of the
..cab file.

Deepest regards,

Davy

PS:
I'm using a the wceload.exe tool to install the cabfiles and have WinCE Cab
Manager ready if needed.
 
G

Guest

Thx for your reply!

How would you run that OpenCF code to delete the regkey?
I was thinking off creating another dotnet CF .exe file (since SP1 is
installed) and run that one before running wceload.exe, but is there another
way?
(by eg. fireing a dll function from the cab file?)

If someone has such a .exe for PPC_ARM don't hesitate to send it to
davy.bonnevalle(removethisspamtag)@alsic.be please :).

Cheers, Davy

Sergey Bogdanov said:
See all posts from this thread:
http://groups-beta.google.com/group...99ddc4040bb/2702cfa33d11212c#2702cfa33d11212c

The same technique should work for CF cab as well.

--
Sergey Bogdanov [.NET CF MVP, MCSD]
http://www.sergeybogdanov.com

Hi group,

Is it possible to desploy the dotnet CF SP3 to a Mobile 2003 device with SP1
in "Silent mode".
This means:
- no "Previous Version Installed, Reinstall?",
- and no "Confirm File Replace?" messageboxes during the installation of the
.cab file.

Deepest regards,

Davy

PS:
I'm using a the wceload.exe tool to install the cabfiles and have WinCE Cab
Manager ready if needed.
 
S

Sergey Bogdanov

If you are using OpenNETCF.Communication to remotely execute wceload.exe
then take a look at OpenNETCF.Desktop.Communication.CERegistry which you
can use to remove the key; otherwise you need to write either eVC
application or CF application (if you are sure that previous CF.NET
version was installed before).

Also see this link how to add custom function to
installation/uninstallation:
http://www.pocketpcdn.com/articles/setupdll.html

--
Sergey Bogdanov [.NET CF MVP, MCSD]
http://www.sergeybogdanov.com

Thx for your reply!

How would you run that OpenCF code to delete the regkey?
I was thinking off creating another dotnet CF .exe file (since SP1 is
installed) and run that one before running wceload.exe, but is there another
way?
(by eg. fireing a dll function from the cab file?)

If someone has such a .exe for PPC_ARM don't hesitate to send it to
davy.bonnevalle(removethisspamtag)@alsic.be please :).

Cheers, Davy

:

See all posts from this thread:
http://groups-beta.google.com/group...99ddc4040bb/2702cfa33d11212c#2702cfa33d11212c

The same technique should work for CF cab as well.

--
Sergey Bogdanov [.NET CF MVP, MCSD]
http://www.sergeybogdanov.com

Hi group,

Is it possible to desploy the dotnet CF SP3 to a Mobile 2003 device with SP1
in "Silent mode".
This means:
- no "Previous Version Installed, Reinstall?",
- and no "Confirm File Replace?" messageboxes during the installation of the
.cab file.

Deepest regards,

Davy

PS:
I'm using a the wceload.exe tool to install the cabfiles and have WinCE Cab
Manager ready if needed.
 
G

Guest

Thanks again for your help. Everything works now. (although it certainly
ain't pretty)

(1) First I run my fresh CF registry hack app to remove following key:
"Software\\Apps\\Microsoft .NET Compact Framework"
This takes care of the previous CF frame version, when running (2).

(2) Then I use following params with wceload.exe:
EXEC \Windows\wceload.exe /noaskdest /delete 0 /noui "\SDMMC
Disk\netcf.core.ppc3.ARM.cab"
This takes care of the "Confirm File Replace" questions.

The next step (MABYE) is creating a Win32 P/Invoke CF App so that I can diss
the additonal OpenNETCF .cab, and create an independent .exe.

I can't believe I had to go through so much trouble for doing a auto SP3
silent install on Pocket 2003 though.

Thx alot mate!


Sergey Bogdanov said:
If you are using OpenNETCF.Communication to remotely execute wceload.exe
then take a look at OpenNETCF.Desktop.Communication.CERegistry which you
can use to remove the key; otherwise you need to write either eVC
application or CF application (if you are sure that previous CF.NET
version was installed before).

Also see this link how to add custom function to
installation/uninstallation:
http://www.pocketpcdn.com/articles/setupdll.html

--
Sergey Bogdanov [.NET CF MVP, MCSD]
http://www.sergeybogdanov.com

Thx for your reply!

How would you run that OpenCF code to delete the regkey?
I was thinking off creating another dotnet CF .exe file (since SP1 is
installed) and run that one before running wceload.exe, but is there another
way?
(by eg. fireing a dll function from the cab file?)

If someone has such a .exe for PPC_ARM don't hesitate to send it to
davy.bonnevalle(removethisspamtag)@alsic.be please :).

Cheers, Davy

:

See all posts from this thread:
http://groups-beta.google.com/group...99ddc4040bb/2702cfa33d11212c#2702cfa33d11212c

The same technique should work for CF cab as well.

--
Sergey Bogdanov [.NET CF MVP, MCSD]
http://www.sergeybogdanov.com


bonna wrote:

Hi group,

Is it possible to desploy the dotnet CF SP3 to a Mobile 2003 device with SP1
in "Silent mode".
This means:
- no "Previous Version Installed, Reinstall?",
- and no "Confirm File Replace?" messageboxes during the installation of the
.cab file.

Deepest regards,

Davy

PS:
I'm using a the wceload.exe tool to install the cabfiles and have WinCE Cab
Manager ready if needed.
 
P

Pandian

bonna said:
Hi group,

Is it possible to desploy the dotnet CF SP3 to a Mobile 2003 device with SP1
in "Silent mode".
This means:
- no "Previous Version Installed, Reinstall?",
- and no "Confirm File Replace?" messageboxes during the installation of the
.cab file.

Deepest regards,

Davy

PS:
I'm using a the wceload.exe tool to install the cabfiles and have WinCE Cab
Manager ready if needed.

how to cab file registry in device
 
S

Simon Hart [MVP]

Not sure if this will be a duplicate response to your question, if so I
applogize - my last message errored on post.

I don't think WCELOAD allows you to supress all message boxes amd this
includes a "Do you want to uninstall and reinstall?" message. Usually one
would uninstall the app then install it with the silent switch.

You can uninstall your app using the uninstall CSP:
http://msdn.microsoft.com/en-us/library/aa455977.aspx
 
T

Trevor

This is possible in versions before Windows Mobile 5.0. Just change the
DWORD registry value "Instl" to 0 under
HKEY_LOCAL_MACHINE\SOFTWARE\Apps\[insert application name as it appears in
add/remove programs here]. WCELOAD will not show the "Already installed"
popup if "Instl" is not set to 1. This doesn't work in WM 5.0 and later
because the registry entries aren't there. WCELOAD on WM5 and later will
automatically uninstall the previous version according to the documentation.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top