Installing and upgrading applications

  • Thread starter Thread starter Rajko
  • Start date Start date
R

Rajko

..NET install and deployment project automatically creates install msi file.
Well, ....
First install works fine, but when i compile and start instalation of newly
compiled project it always says that i need to deinstall first and then run
install. Even though project was newer version and Upgrade table have, by
default, OK upgrade information.
Can someone tell me what could be the problem. I tryed example from MSDN and
the same thing. -->
Deinstall -> Install (no upgrade). I used Orca tool for modifiing msi
package but nothing.
Only thing I concluded is: when package code changes Deinstall -> Install is
std. procedure. hmm... :-(((

Thx for help, Rajko.
 
Packagecode, productcode and version all need changing, and the
RemovePreviousVersions project property needs setting True. You don't need
to use Orca - incrementing the version in the setup project properties will
prompt you to change the right codes, and RemovePreviousVersions populates
the Upgrade table for you.
 
Thx, Phil.
I was going to reply to you with message I already tried this.
But decided to try again and it works, at least today. :-))
I must have been using 4th version number(build number) and only first three
are used.
Sometimes I try all options separate and believe that I tried them all.
I must have missed right combination (even so simple one).
We got one saying in my country: I didn't see the trees because forest
blocked my view.

Thanks again, you helped. Rajko.


Phil Wilson said:
Packagecode, productcode and version all need changing, and the
RemovePreviousVersions project property needs setting True. You don't need
to use Orca - incrementing the version in the setup project properties will
prompt you to change the right codes, and RemovePreviousVersions populates
the Upgrade table for you.
--
Phil Wilson
[MVP Windows Installer]
Rajko said:
.NET install and deployment project automatically creates install msi file.
Well, ....
First install works fine, but when i compile and start instalation of newly
compiled project it always says that i need to deinstall first and then run
install. Even though project was newer version and Upgrade table have, by
default, OK upgrade information.
Can someone tell me what could be the problem. I tryed example from MSDN and
the same thing. -->
Deinstall -> Install (no upgrade). I used Orca tool for modifiing msi
package but nothing.
Only thing I concluded is: when package code changes Deinstall ->
Install
is
std. procedure. hmm... :-(((

Thx for help, Rajko.
 
Back
Top