473,804 Members | 2,132 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Windows Installer

This may qualify as a stupid question -- or as Chris Berman said, "There are no stupid questions. Only stupid people who ask questions.

I finally have my windows installer where I want it. It loads the dotnet framework semi-silently, installs the main installer along with an automatic upgrade feature

Then, I hit one more snag. Some of the install computers do not have the latest version of windows installer. My question: Is there a neat easy way to automatically check and install the installer if necessary... and then go on with the rest of the install

Eric Fleet
Nov 20 '05 #1
1 1421
Eric Fleet wrote:
This may qualify as a stupid question -- or as Chris Berman said,
"There are no stupid questions. Only stupid people who ask
questions."

I finally have my windows installer where I want it. It loads the
dotnet framework semi-silently, installs the main installer along
with an automatic upgrade feature.

Then, I hit one more snag. Some of the install computers do not have
the latest version of windows installer. My question: Is there a neat
easy way to automatically check and install the installer if
necessary... and then go on with the rest of the install?


Locate %WinDir%\System 32\msiexec.exe and check the file version. If it's not
the (newer than) the version you want, install InstMsiW.exe on WinNT/2000,
and InstMsiA.exe on Win9x/Me. Both files can be found on the Microsoft
website, in the download center.

--
Sven Groot

http://unforgiven.bloghorn.com

Nov 20 '05 #2

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

Similar topics

0
2045
by: Brett Gerhardi | last post by:
Hi all, I'm having a nightmare with Windows Installer projects and souce control. My situation is that I have a few related windows application / dlls, some generic shared library files and a windows installer to install it. I have all of these in the same solution to enable easy debugging and maximum flexibility. I want my source control to be something like this (from the /$ root) MyBigApplication - vb.net main windows application
7
3692
by: sidd | last post by:
Hi All, i have some doubts on .net windows services.. please see if some one could help me understand this.. 1)is it possible to install a windows service which does not have a installer added to it, using installutil.exe OR is it must to have an installer to the service project to be able to
2
1606
by: Job Lot | last post by:
Can some1 pls help me with this I have recently installed .net framework bootstrapped plug in to include mdac and .net framework in my custom application setup. Now the problem is, MS Windows Installer 1.5 is getting included the package? I was trying to install my app on a computer running Windows 98 and got an error that windows installer information in not included and setup terminated?
4
7092
by: bob lambert | last post by:
Help I am trying to deploy to another pc a vb.net std 2002 windows form application. I am confused. I created a project - windows form I built form, compiled and debugged. I created a deployment project (myproj installer) I added my windows app to the installer under myproj installer properties, I set bootstrapper
1
1895
by: Rob R. Ainscough | last post by:
I'm having several issues with Windows Setup Projects in VS 2005 and need to find a resource that might be able to help me work around some of the short comings of Windows Setup Projects (Windows Installer 3.0). My specific issues: 1. DetectNewerInstalledVersion = False, still detects a version and refuses to install even with UpgradeCode = same and ProductCode being difference. 2. DeleteAtUninstall doesn't work if = False (some BS...
1
1980
by: Rob R. Ainscough | last post by:
In the past for VS 2003 .NET 1.1 Windows Service projects, I've been using InstallUtil. I'm now converting it over to VS 2005 and .NET 2.0 and would like to create a stand alone installer -- should I use the Setup Project template in VS 2005? Can this handle Windows Service installs? thanks, Rob.
4
2007
by: Rob R. Ainscough | last post by:
The task is brain dead simple - Uninstall prior Windows Service and Install newer version of Windows Service Background: 1. My Windows Service written in .NET 1.1 and deployed via MSI (Windows Installer) 2. My Windows Service is upgraded to .NET 2.0 with deployment project using MSI (Windows Installer) Upgrade code is the same from the .NET 1.1 version to the .NET 2.0 version
1
2871
by: lyl209 | last post by:
Hi, I am trying to create a web setup project for my asp.net 2.0 website and I had some problems. It worked fine until I want to add some custom actions into it. As some of you already knew, custom actions get fired AFTER the real installation is done. I want to do some things like 1) check if some required software is in position if not execute an installer 2) backup some important files before installation
0
2700
by: =?Utf-8?B?U2ltb25EZXY=?= | last post by:
Hi All I would like to install the same Windows Service project on the same server under different names, one for each customer. I have been able to do it but I would like an expert opinion as to whether my solution is robust or whether there is a better way to do it. What I've been trying to do is to create a core project with different extension projects, one for each customer. I wanted to create a different Setup project for each...
5
3313
by: dm3281 | last post by:
I'm really starting to hate writing services -- or trying to, anyway. Why do I need to rename my project to the service name? Why do I need to set the "ServiceName" property to my service name? Why do I need to set a property within my code to the service name? Are all these required or am I just doing this for consistency purposes?
0
9715
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10603
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...
0
10353
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10356
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
9176
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
6869
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5536
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...
2
3836
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3003
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.