473,653 Members | 3,015 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

how to create WindowsInstalle r.Installer object?

Hi,

I have an application in which I try to use the installer functions.
An Installer (WindowsInstall er.Installer) object must be initially created
to access the installer functions.
If I use the CreateObject function to create a new instance of Installer I
will have no problem (see a code below). However, I am wondering about is if
it is possable to create a new Installer object without using CreateObject?
Dim msiInstaller As WindowsInstalle r.Installer
Set msiInstaller = CreateObject("W indowsInstaller .Installer")

Any ideas?

Regards,
Mike
Nov 21 '05 #1
0 3684

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

Similar topics

3
2492
by: Arun Bhalla | last post by:
I'm borrowing some code from Pavel's Command Prompt Explorer Bar installer to use in my own explorer bar's installer. Recently I've been thinking that using an assembly version like "1.0.*" (hence, for example, "1.0.1304.25935") would be useful, at least for development and debugging purposes. (Someone please point out the cons to this idea!) Well, anyway, Pavel's installer basically exists to register the assembly, and unregister the...
0
2091
by: Arun Bhalla | last post by:
I'm having some inconsistency problems with my deployment project ("Setup") and its custom actions ("Installer"). I'm using Visual Studio .NET 2003 (.NET 1.1, no service pack) on Windows XPSP1. My main project is a band object (Explorer Bar) in an assembly (.DLL) that needs to be registered on installation and unregisted on uninstallation. In addition, during installation, Setup creates registry subkeys, sets registry values, installs...
0
1530
by: Jeff_Lav | last post by:
I'm doing a strong named assembly in vb.net that as a reference on the msi.dll. With the command tlbimp.exe i assigned a strong name to msi.dll and create à new dll called : msisnk.dll. Since msisnk.dll has a strong name, I connot use this command anymore to create a instance of the object installer : objInstaller = createobject("msisnk.Installer") (i recieve a "cannot create AtiveX component..") And when I tried to use the VB.NET way...
17
3297
by: Chris Podmore | last post by:
When I perform: EventLog.WriteEntry(strSource, strEntry, EventLogEntryType.Error, intEventID) The event viewer reports The description for Event ID ( 234 ) in Source ( Siclops_WS_Mobile ) cannot be found. The local computer may not have the necessary registry information or message DLL files to display messages from a remote computer. I think I need to create a dll that returns error messages for event ID’s.
1
1418
by: yxq | last post by:
Hello, I want to get some installed application info(i.e. InstallLocation) using WindowsInstaller.Installer, can anyone provide some examples? thank you!
1
1972
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.
0
1611
by: rony_16 | last post by:
Hi, I am using the following code : WindowsInstaller.Installer i = null; Type oType = Type.GetTypeFromProgID("WindowsInstaller.Installer"); if (oType != null) { i = (WindowsInstaller.Installer)Activator.CreateInstance(oType); } WindowsInstaller.StringList s = i.Products;
2
12819
by: ashishjainism | last post by:
I am unable to install my windows service and the installutil is throwing the following error: Running a transacted installation. Beginning the Install phase of the installation. See the contents of the log file for the d:\practice in .net\mywindowsservice\mywindowsservice\mywindowsservice\bin\practiceservice.exe assembly's progress. The file is located at d:\practice in...
3
3942
by: sanghavi | last post by:
how to create a set up project in vb.net..how to run an application on a different machine
0
8370
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
8283
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
8590
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7302
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...
1
6160
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5620
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
4291
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2707
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
1
1914
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.