hi
I'm wondering whether there is a way in C# to be able to see whether a
program has been installed or not?
I want to create a distributional executeable that will have a few
components and show which has been installed already and if it hasn't
been installed then allows them to install it, also not allowing them
to install a certain package until dependencies are installed...
I tried to figure how to do this with a package creater but couldn't
find one to do what I want as I already have the .msi files I want to
distribute, so I just want a simple frontend and not mess around having
to redo it all.
I know how to run the files with C# and see when they're completed...
but want to make sure that its also in Add/Remove programs first before
continuing with anything else that depends on that package.
any ideas?
thanks
Kris Wragg 2 4274
You don't have to look at Add remove programs, its just a list of programs
installed. I believe there is a list in the registry for this list. This
gets update everytime you run a MSI. I can't remember the exact location of
the list...
Also another note.. the MSI packager with VS.NET 2003 is powerful, you can
write custom Actions and do things before Install or after Install.. the
codeproject.com has a sample I believe.
VJ
"Kristopher Wragg" <xa****@xafie rs-home.com> wrote in message
news:11******** **************@ v46g2000cwv.goo glegroups.com.. . hi
I'm wondering whether there is a way in C# to be able to see whether a program has been installed or not?
I want to create a distributional executeable that will have a few components and show which has been installed already and if it hasn't been installed then allows them to install it, also not allowing them to install a certain package until dependencies are installed...
I tried to figure how to do this with a package creater but couldn't find one to do what I want as I already have the .msi files I want to distribute, so I just want a simple frontend and not mess around having to redo it all.
I know how to run the files with C# and see when they're completed... but want to make sure that its also in Add/Remove programs first before continuing with anything else that depends on that package.
any ideas?
thanks Kris Wragg
Hello Kristopher,
Try this article on the MSDN this should help you a lot http://support.microsoft.com/default...b;en-us;821775
Regards
Scott Blood
C# Developer
"vj" <vi********@yah oo.com> wrote in message
news:Ou******** ******@TK2MSFTN GP10.phx.gbl... You don't have to look at Add remove programs, its just a list of programs installed. I believe there is a list in the registry for this list. This gets update everytime you run a MSI. I can't remember the exact location of the list...
Also another note.. the MSI packager with VS.NET 2003 is powerful, you can write custom Actions and do things before Install or after Install.. the codeproject.com has a sample I believe.
VJ
"Kristopher Wragg" <xa****@xafie rs-home.com> wrote in message news:11******** **************@ v46g2000cwv.goo glegroups.com.. . hi
I'm wondering whether there is a way in C# to be able to see whether a program has been installed or not?
I want to create a distributional executeable that will have a few components and show which has been installed already and if it hasn't been installed then allows them to install it, also not allowing them to install a certain package until dependencies are installed...
I tried to figure how to do this with a package creater but couldn't find one to do what I want as I already have the .msi files I want to distribute, so I just want a simple frontend and not mess around having to redo it all.
I know how to run the files with C# and see when they're completed... but want to make sure that its also in Add/Remove programs first before continuing with anything else that depends on that package.
any ideas?
thanks Kris Wragg
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: uri bushey |
last post by:
I have a Python program that is built on an infrastructure of quite a
few other programs, but I would like to create a standalone nonetheless.
It doesn't necesarily have to be its own executable, although this is
the most attractive option - it could just mean distributing the entire
python distribution with it in an installer or something.
However, here is what I have called in my python file:
Tkinter, and multiple Pmw widgets...
|
by: Mathieu Malaterre |
last post by:
Hello,
I thought this would be easy but I guess I didn't get the distutil
feeling. I am trying to write a setup for install my package but I don't
understand how to do that.
organisation:
setup.py
/bin/
|
by: poisondart |
last post by:
Hi,
I'm not sure if this is the right group to post this. If not, then I
would appreciate if somebody could point me to the correct group.
This is my first time releasing software to the public and I'm wanting
to release a Python program I wrote for review (and critique) and
testing on other platforms, but also I would like to explore the
different software licenses that are available (there seems to be
many). Since the specification...
|
by: Desmond L |
last post by:
I'm tring to use CodeWarrior 9 to build a Mach-O target application
on Mac OS X that uses the embedded mysql server library
(libmysqld.a). I'm using the library that comes from
standard Mac OS X binary distribution (the .dmg package).
I can add libmysqld.a to the CodeWarrior project but when
linking, there're lots of undefined symbols referenced from
libmysqld.a. I assume it also needs the equivalent of
-lz and -lm to be added to...
|
by: Kalvin |
last post by:
When I create an install package, all I see is a folder Icon in the
Add/Remove programs. I have set the AddRemoveProgramsIcon property in
my install package, but that doesn't do anything. I have created
packages before that worked correctly, but not anymore. I have even
tried installing this to different machines, but there was no change.
Is there a different property that has to be set for this icon to be
displayed?
Thanks in...
| |
by: Michael A. Covington |
last post by:
Greetings,
I am working on a program that is in beta testing and goes through a new
version every week or so.
When there's a new version, go into the setup project change the Product
Code but leave the Upgrade Code and version number unchanged.
RemovePreviousVersions is set to True.
|
by: Arne Beruldsen |
last post by:
How do you read the serial number to a hard drive?
Thanks...Arne
|
by: vlsidesign |
last post by:
I am a newbie and going through "The C programming language" by
Kernighan & Richie on my own time (I'm not a programmer but I want to
learn because it can save me time in my normal job, and it is kind of
fun). As I go through the book, I seek to do all the exercises because
they are very useful, and good, but it seems like I am just stumbling
through somewhat. In particular, I don't really know how to think about
"catching errors", or how...
|
by: Daniel Jonsson |
last post by:
So, I've reached the point where my building pipeline tools actually
needs to be used by other people in my company. By this reason I
actually need to think about the usability, and I've come to the
conclusion that I need a GUI. So, which of the two packages should I
learn, and which one is easier to pick up?
Thanks in advance!
Daniel
|
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...
|
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,...
| |
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...
|
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,...
|
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...
|
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...
|
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();...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
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
| |