Wanting2LearnMan
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.
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.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
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
Process exited with code 1
Setting value '1 {int}' for property 'DotNetInstalled'
Reading value 'Version' of registry key 'HKLM\Software\Microsoft\I
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
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 'VersionGreaterThanOrEqual
Result of checks for command 'dotnetfx\WindowsInstaller
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\Deskt
MsiInstallProduct returned '1620'
Error: