Link to home
Start Free TrialLog in
Avatar of Wanting2LearnMan
Wanting2LearnManFlag for United Kingdom of Great Britain and Northern Ireland

asked on

Visual Studio Installer problem

I have a microsoft visual studio installer which installs an exe and 2 dlls.

Normally when I make a change to my exe I just change the Version number of my setup project and all works fine. (Exe gets upgraded, Add/Remove Progrmas entries are fine)

But this time I mistakenly changed the UpgradeCode (Generated a new number).  Now when I upgraded by double clicking my new installer the following happened:
1. The installation process went fine.
2. The exe in my Program folder dod not get upgraded.
3. There were now 2 instances of my program in the Add/Remove Program files.

Now I Have uninstalled both versions from Add/Remove Program files and I want now to in stall the old version of my program so I can test the new installer again it wont let me. It says:
"An error occurred while trying to install MyProgram" - PLease see log file.

I think I have screwed things up because I changed the UpgradeCode.  How can I solve this problem.
Avatar of Wanting2LearnMan
Wanting2LearnMan
Flag of United Kingdom of Great Britain and Northern Ireland image

ASKER

The log file says this:

The following properties have been set:
Property: [AdminUser] = true {boolean}
Property: [ProcessorArchitecture] = Intel {string}
Property: [VersionNT] = 6.0.1 {version}
Running checks for package '.NET Framework 2.0', phase BuildList
Running external check with command line "C:\Users\RYANJP~1\AppData\Local\Temp\VSDDA5A.tmp\dotnetfx\dotnetchk.exe"
Process exited with code 1
Setting value '1 {int}' for property 'DotNetInstalled'
Reading value 'Version' of registry key 'HKLM\Software\Microsoft\Internet Explorer'
Read string value '7.0.6001.18000'
Setting value '7.0.6001.18000 {string}' for property 'IEVersion'
The following properties have been set for package '.NET Framework 2.0':
Property: [DotNetInstalled] = 1 {int}
Property: [IEVersion] = 7.0.6001.18000 {string}
Running checks for command 'dotnetfx\instmsia.exe'
Result of running operator 'ValueExists' on property 'VersionNT': true
Result of checks for command 'dotnetfx\instmsia.exe' is 'Bypass'
Running checks for command 'dotnetfx\WindowsInstaller-KB893803-v2-x86.exe'
Result of running operator 'ValueExists' on property 'Version9x': false
Result of running operator 'VersionLessThan' on property 'VersionNT' and value '5.0.3': false
Result of running operator 'VersionGreaterThanOrEqualTo' on property 'VersionMsi' and value '3.0': true
Result of checks for command 'dotnetfx\WindowsInstaller-KB893803-v2-x86.exe' is 'Bypass'
Running checks for command 'dotnetfx\dotnetfx.exe'
Result of running operator 'ValueNotEqualTo' on property 'DotNetInstalled' and value '0': true
Result of checks for command 'dotnetfx\dotnetfx.exe' is 'Bypass'
'.NET Framework 2.0' RunCheck result: No Install Needed
Launching Application.
Using MsiInstallProduct with package path 'C:\Users\ryanjpcush\Desktop\PC Software Sent to Dermot Howlin\Setup.msi' and command line ''
MsiInstallProduct returned '1620'
Error:
ASKER CERTIFIED SOLUTION
Avatar of Wanting2LearnMan
Wanting2LearnMan
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial