473,811 Members | 3,579 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 4648
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.co m

"RobofNZ" <ro*******@dg-solutions.co.uk wrote in message
news:11******** **************@ v61g2000cwv.goo glegroups.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.uk wrote in message
news:11******** **************@ h48g2000cwc.goo glegroups.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.uk wrote in message
news:11******** *************@i 42g2000cwa.goog legroups.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
4932
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 1.1 -> MsiNetAssembly Support.) I have a few issues and questions regarding the MSI and its properties. * This may be my biggest annoyance at the moment. When the installer creates the target directory, it's setting them as read-only. When the...
6
2038
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 / clients, and the application has an Access DB out on their network. How can I create a deployment routine where I can have a dialog box prompt for the network share (i.e. \\server\dbfolder) at install-time? Once network the share is specified...
1
4478
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 executed in the order added. This statement holds true if every Condition has a InstallURL value set. but not if there is no InstallURL value. For Example : I want to check that W2K exists on the target machine before installing SP4. So, I add a...
5
1656
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. I use VSNET 2003 to develop applications and I am trying to understand exactly what/how to "install" my ASP.NET applications on my web site. The information I've found so far focuses on processes that only work if you own the IIS server. I...
5
3126
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 workstation got upgraded to IE7, and now whenever I deploy an application and IE7 comes up for the Install page - it just says "Connecting..." and just hangs, and then I have to manually end the program. I did not have this problem with IE6. Are...
6
4072
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 an issue, what else is available?
1
2061
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 wrong, but I am experiencing something weird and am not sure if it has something to do with the way the WindowServiceInstaller class was created or if i did something wrong in my deployment project. Basically what happens is that after I build the...
1
8153
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 file and itself into the exe. You would probably want a tool for this bit which could be in the zip too. So the app isnt single exe when running but when not running, it is. Just an idea for you to think about. Another option would possibly be to...
3
5860
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 installation I also install the PostgreSQL database and along with that I need to execute some Custom Actions. I've created a Custom Installer component in CSharp and calls it on Install/Rollback/ uninstall and everything works great (Custom Actions...
0
9605
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10651
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10405
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9208
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5556
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5697
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4342
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3871
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3020
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.