MSI problem / question

  • Thread starter Thread starter Lloyd Dupont
  • Start date Start date
L

Lloyd Dupont

I created a .MSI installer with a Setup project in VS.NET (2005)
After some update to the code I decided to make a new release and I create a
new .MSI.
Now when, when I tested my .MSI it didn't install, complaining there was a
previous version of the software which prevent it from installing.
Although I did check the "RemovePreviousVersion"

Is there a way around this very bad user experience?
Also going in to the uninstall panel is quite tedious, how do I create an
uninstall shortcut in my application's folder?
 
Is this a minor upgrade? If so you need to run the installer with
"msiexec /i <name-of-msi> REINSTALL=ALL REINSTALLMODE=vomus". For the
user, the easiest thing is if you wrap the msi in a bootstrapper which
makes the command line call for them.

For the uninstall link, you want "msiexec /x <product-code-of-your-app>

Rob
 
It may be a very bad user experience, but it's a common beta user
experience. The purpose of releasing beta software is to find the bugs in
it. As a result, one should always expect bugs in beta software. If there
were no bugs, it would be RTM software!

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
Neither a follower nor a lender be.
 
I don't quite get it?!?!
I'm just trying to make the install/upgrade process of my apps as smooth as
possible here...
 
I don't quite get it?!?!
I'm just trying to make the install/upgrade process of my apps as smooth
as possible here...

You can file a bug report:

http://lab.msdn.microsoft.com/productfeedback/

As for making the install/upgrade process of your apps as smooth as
possible, you have basically 2 choices:

1. Wait until November and get the RTM version.
(Keep an eye out for any interim releases that might fix your issue)
2. Use Visual Studio.Net 2003.

When it comes to beta software, it's always "caveat emptor." ;-)
--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
Neither a follower nor a lender be.
 
1. Wait until November and get the RTM version.
(Keep an eye out for any interim releases that might fix your issue)
2. Use Visual Studio.Net 2003.

When it comes to beta software, it's always "caveat emptor." ;-)

Well I don't think it's a beta problem.
I already used Setup project a while ago and IIRC they already displayed
this exact same problem.

I'm afraid it's not a bug of the MSI file / and/or setup project, but a
"feature"; although a rather annoying one.
 
Well, if you checked "Remove Previous Version" I would think it's a bug. but
that's just me.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
Neither a follower nor a lender be.
 
Well, if you checked "Remove Previous Version" I would think it's a bug.
but that's just me.

mmhh...
right, let be more optimistic, let's post a bug report on the MSDN website!
but it was a bug already there in VS2003 IIRC
 
BTW Kevin I had an answer from MS support.
It's very simple, I should also change the version number property of the
MSI and.. Voila!!
 
There is a Program called Disco32 which is included in the WinInstall
software made by Veritas. You can download it for free, or if you want the
whole version then you can use the trial version and see how it works. It is
very simple, it creates a share where all the msi files and other necessar
files will be placed. You first run the Discovery - "Before snapshot" which
basically takes a snapshop of your C:/. After that you install the
application on your PC, and then you run the After snapshot. It's a logical
process, the difference between the After and Before snapshot contanis the
MSI file and other directories, files and registry keys that were added /
modified to your PC.
Use the AD and create an MSI install package and assign it thru the Group
Plolicy, pay attention about differences between assigning / publishing the
MSI packages.

The MSI part is all self explainable. You must know Active Directory and
Group Policeis to be able to finish the project.

Nick
 
Back
Top