| | |
C#, updating installed app with the Windows Installer
Please support our C# advertiser: Intel Parallel Studio Home
Thread Solved |
•
•
Join Date: Oct 2009
Posts: 2
Reputation:
Solved Threads: 0
Hello, dear All
I have the following problem: i have a .net (C#) app and a Windows Installer project to deploy it. Now i want this Installer project be able not just to install the app onto a 'bare' client machine, but also to check if some previous version of the app has been already installed and update it if necessary.
At first glance, this problem seems as very common and easy to find solution for, but, surprisingly, Google says nothing about it. If somebody knows at least where to look for a solution - i'ld be very grateful for a help.
I have the following problem: i have a .net (C#) app and a Windows Installer project to deploy it. Now i want this Installer project be able not just to install the app onto a 'bare' client machine, but also to check if some previous version of the app has been already installed and update it if necessary.
At first glance, this problem seems as very common and easy to find solution for, but, surprisingly, Google says nothing about it. If somebody knows at least where to look for a solution - i'ld be very grateful for a help.
Last edited by educated_fool; Oct 18th, 2009 at 9:39 am.
0
#2 Oct 18th, 2009
Click on the installer in your solution explorer and look in the properties window. Set these properties:
DetectNewerInstalledVersion = True
RemovePreviousVersions = True
That will allow you to upgrade machines and stop accidental downgrades.
DetectNewerInstalledVersion = True
RemovePreviousVersions = True
That will allow you to upgrade machines and stop accidental downgrades.
0
#4 Oct 18th, 2009
You're welcome
Please mark this thread as solved if you have found a solution to your question and good luck!
Please mark this thread as solved if you have found a solution to your question and good luck!
![]() |
Similar Threads
- Creating a windows installer (VB.NET)
- windows installer issues (Windows NT / 2000 / XP)
- Windows Installer Error (Windows NT / 2000 / XP)
- Windows Installer problem (Windows NT / 2000 / XP)
- windows installer (Windows NT / 2000 / XP)
- Problems with Windows Installer popping up! (Windows 95 / 98 / Me)
- Troubles with Windows Installer (Windows Software)
- Windows Installer Problem (Windows 95 / 98 / Me)
- Windows Installer? (Windows NT / 2000 / XP)
- popups,windows installer error when starting apps (Viruses, Spyware and other Nasties)
Other Threads in the C# Forum
- Previous Thread: Adding Reference Automatically
- Next Thread: Convert this line of code from C++ to C#
| Thread Tools | Search this Thread |
Tag cloud for install, update
7 64bit 2010 apple boot browser bulletin collaboration control customactiondata customactions database datepart design dual error errors file firefox firmware gamer gaming input install installer internet iphone iphone2.1 java jvm leopard list mac microsoft mozilla msaccess mssql mysql news object osx panel patch playstation ps3 pwnage python remote security setup sharepoint software sony sql sqlserver syntax trojan ubuntu uninstall update upload virus vulnerability win windows xp







