473,326 Members | 2,168 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,326 software developers and data experts.

Deployment... How do you push an install???

Hi All,

I'm having a small issue with deploying my client app....

The msi is ready, I've even created some mst's. but I've been told not
to rely on external means of deployment...

So I need to find a way to push the client install from the server... I
know it can be done I just can't find any information on how to do it
in C# or C++.

Does anyone know how this can be done....?

Please...
Rob.

Jul 5 '06 #1
7 4609
Usually you'd use group policy on the domain to do this.

Your administrator should be able to help with this.

Andy

RobofNZ wrote:
Hi All,

I'm having a small issue with deploying my client app....

The msi is ready, I've even created some mst's. but I've been told not
to rely on external means of deployment...

So I need to find a way to push the client install from the server... I
know it can be done I just can't find any information on how to do it
in C# or C++.

Does anyone know how this can be done....?

Please...
Rob.
Jul 5 '06 #2
Rob,

I would look into ClickOnce. It should give you what you need in terms
of deployment.

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"RobofNZ" <ro*******@dg-solutions.co.ukwrote in message
news:11**********************@v61g2000cwv.googlegr oups.com...
Hi All,

I'm having a small issue with deploying my client app....

The msi is ready, I've even created some mst's. but I've been told not
to rely on external means of deployment...

So I need to find a way to push the client install from the server... I
know it can be done I just can't find any information on how to do it
in C# or C++.

Does anyone know how this can be done....?

Please...
Rob.

Jul 5 '06 #3
Hi Nicholas,

sorry to bother you, what is 'Click once'?

I've not got the budget to buy in third party so need freeware or to
code it from scratch...

I'm having some luck with WMI...
1. copy msi.
2. use remote WMI win32_Process to run the msiexec.

But I can't see how to get the arguments applied??? If I attatch them
to the end it doesn't like it but there doesn't seem to be any obvious
way to apply them or set the working directory.

Any Ideas....

Thanks, Rob.

Jul 8 '06 #4
One of the ways you can deploy forms apps is to use a web site as a
deployment mechanism for DLLs, etc.

There's a couple of ways to do this:

1) Place the main executable on a web site. Users have to go there to get
it. They can open it from there or download it and open it from their
workstation.
a. The main executable has just enough code in it to know how to
download the other assemblies via HTTP.
2) Place all other assemblies and configs on a web site (or virtual
directory). This serves as the place where your code base lives. You
always update here and not on the clients.

You're much better off looking on Microsoft's site for it. I think it's
also called "No touch deployment".

It talks all about how to do it and the pros and cons.

-Tim

"RobofNZ" <ro*******@dg-solutions.co.ukwrote in message
news:11**********************@h48g2000cwc.googlegr oups.com...
Hi Nicholas,

sorry to bother you, what is 'Click once'?

I've not got the budget to buy in third party so need freeware or to
code it from scratch...

I'm having some luck with WMI...
1. copy msi.
2. use remote WMI win32_Process to run the msiexec.

But I can't see how to get the arguments applied??? If I attatch them
to the end it doesn't like it but there doesn't seem to be any obvious
way to apply them or set the working directory.

Any Ideas....

Thanks, Rob.

Jul 9 '06 #5
No touch deployment is for .Net 1.1; ClickOnce is strictly .Net 2.0.

Either way, these are more 'pull' installation techniques, since the
user is required to do something to install the application initally.

To really 'push' the installation to all workstations (or a subset),
you create an MSI along with another fine.. MSM I believe. The domain
administrators then use those files to force the program to install at
the next reboot.

Andy

Tim Dot NoSpam wrote:
One of the ways you can deploy forms apps is to use a web site as a
deployment mechanism for DLLs, etc.

There's a couple of ways to do this:

1) Place the main executable on a web site. Users have to go there to get
it. They can open it from there or download it and open it from their
workstation.
a. The main executable has just enough code in it to know how to
download the other assemblies via HTTP.
2) Place all other assemblies and configs on a web site (or virtual
directory). This serves as the place where your code base lives. You
always update here and not on the clients.

You're much better off looking on Microsoft's site for it. I think it's
also called "No touch deployment".

It talks all about how to do it and the pros and cons.

-Tim
Jul 10 '06 #6
Cracked it....

Build an installer exe.
copy the exe + msi + any config files to a tmp dir on target machine
using wmi or other...

remote execute exe using wmi...

done....

you could even make the installer exe pull the msi and config files
from the server over a secured channel if security was an issue.

wmi provides for passing secure arguments and helps with
authentication.

Rob.

Jul 17 '06 #7
I think I remember reading somewhere that under XP SP2 that running a
process remotely didn't allow access to network resources.
The workaround was to create a remote scheduled task that ran the job a few
seconds later.
I haven't tried it though so I don't know if that's a valid claim.

"RobofNZ" <ro*******@dg-solutions.co.ukwrote in message
news:11*********************@i42g2000cwa.googlegro ups.com...
Cracked it....

Build an installer exe.
copy the exe + msi + any config files to a tmp dir on target machine
using wmi or other...

remote execute exe using wmi...

done....

you could even make the installer exe pull the msi and config files
from the server over a secured channel if security was an issue.

wmi provides for passing secure arguments and helps with
authentication.

Rob.

Jul 18 '06 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Arun Bhalla | last post by:
I'm working with VS.NET 2003 and .NET 1.1 (not SP1) on Windows XP SP1. My application is using the Windows Installer Bootstrap. (I may have also installed a module which detects requirements (.NET...
6
by: Paul | last post by:
Hello everyone: I am developing a VB.Net Windows Application and I am now ready to create the deployment project for it. This application needs to be installable on a different number of users...
1
by: Jo | last post by:
I am having a real problem with the Launch conditions in VS .NET and can only come to the conclusion that it is a bug. It states quite emphatically in the MSDN that Launch Conditions WILL be...
5
by: Wayne Wengert | last post by:
I have an account with an ISP for my web site. I do not have access to the server configuration controls. I can ask the ISP to designate an existing directory on my web site as a virtual directory....
5
by: =?Utf-8?B?UmljaA==?= | last post by:
Greetings, I have been using the Click Once deployment feature of VS2005 - very nice. I had IE6 at the time when I started using Click Once Deployment, and everything worked fine. But then my...
6
by: andrewbb | last post by:
I want to deploy a service with a windows app and the setup program must conform to the Vista certification requirements. Can that be done with the standard .net setup project? Assuming cost is...
1
by: kirk.quinbar | last post by:
Have you ever used a .net deployment project to install a windows service? If so, then i ran into an issue recently that maybe you could shed some light on. I am sure I probably did something...
1
by: =?Utf-8?B?Q2lhcmFuIE8nJ0Rvbm5lbGw=?= | last post by:
On reflection, you could possibly make the app a self extracting zip file which extracts the EXE and a settings file and then starts the app, then when you app closes, it can repack the settings...
3
by: KennethLundin | last post by:
Hi, i'm developing a solution in VS9/CSharp. Now I'm constructing a deployment project for my appliation (thick, database driven, winforms, standard, good old type of application). During...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.