|
When I upgrade installer does not show radio button of upgrade but when I see installed file it is changing to newer file.
I have developed setup project in VS 2005 for outlook Add-in. I did following items: 1. Kept upgrade code same 2. Changed the version of setup project 3. Changed the product code of setup project 4. Changed the version of DLL which installer installs.
Still I can not see a screen in which upgrade radion button comes. | | sandeep k Saturday, September 19, 2009 9:40 AM | ThanksWang.
I need a Dialog with option Upgrade or Remove. Is it possible?
I'm afraid you'll have to use other authoring tools to make such a dialog.I can't say it is not possible, however, it will take you a while doing that in a Visual Studio setup project. Besides, I don't think the options make much sense. The recommended way of removingalready installed software is via the Add/Remove Programs control panel. It looks even weird that your v2.0 application setup can remove the v1.0 applicationthen just exit and do nothing else. The only option that makes sense is upgrade. So I don't think it necessary for an option dialog like that, just put a message on the first screen of the setupthat tells the user if an old version already installed, it will be automatically removed and then the new version will be installed. To achieve that, just set the RemovePreviousVersions like Phil said. If you still want that dialog, you might want to take a look at the Windows Installer XML toolsetor other commercial setup authoring tools. Regards, Jie MSDN Subscriber Support in Forum If you have any feedback on our support, please contact msdnmg@microsoft.com
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have any feedback, please tell us. The CodeFx ProjectMy Blog (in Simplified Chinese)- Marked As Answer bysandeep k Wednesday, September 23, 2009 12:57 PM
-
| | Wang, Jie Wednesday, September 23, 2009 12:41 PM | Hello Sandeep, It sounds like to me that you're working on a Windows Installer setup project, right? I think the installer will automatically do the upgrade without prompting the user, and I'm not aware of sucha built-in dialog for the setup project in Visual Studio. Some third party Windows Installer package authoring tool might provide this option though. So could you let me know why are you looking for such a dialog? By understanding the requirement maybe we can come out some workaround. Thanks, Jie MSDN Subscriber Support in Forum If you have any feedback on our support, please contact msdnmg@microsoft.com
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
If you have any feedback, please tell us.
The CodeFx Project
My Blog (in Simplified Chinese) | | Wang, Jie Monday, September 21, 2009 12:10 PM | Hi Wang,
Yes I am working on Windows Installer setup project provided by VS 2005. I have seen installer providing this option so to align my solutionwith them Iwas searching for such a dialog which prompts an user to upgrade option.
Do you think for enterprise level product silently upgrading is fine? | | sandeep k Monday, September 21, 2009 2:09 PM | Do you think for enterprise level product silently upgrading is fine?
Well, I think that depends. Sometimes software installed on corp computers (and upgrades/patches) are totally controlled by IT admins and users just don't (and shouldn't) have a chance to choose. In this case installation packages are just pushed to the client machines by admin tools. No UI needed at all. However, I understand that you want to provide options to the users. One thing I'm not very clear is, say if you show an option for Upgrade, then what would other options like? Will they look like Upgrade/ Exit Installation, or Upgrade/ Remove Previous Versions then Install the New Version? Thanks, Jie MSDN Subscriber Support in Forum If you have any feedback on our support, please contact msdnmg@microsoft.com
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
If you have any feedback, please tell us.
The CodeFx Project
My Blog (in Simplified Chinese) | | Wang, Jie Tuesday, September 22, 2009 10:06 AM | RemovePreviousVersionsjust works like that. It doesn't ask (there is no dialog asking for permission), it goes ahead and does it. Why were you expecting a dialog asking for a go-ahead to upgrade? Phil Wilson | | PhilWilson Tuesday, September 22, 2009 9:30 PM | ThanksWang.
I need a Dialog with option Upgrade or Remove. Is it possible? | | sandeep k Wednesday, September 23, 2009 8:37 AM | Thanks Phil for pointing out the behaviour. I need this dialog just to bring information to user that there is previous versioninstalled. If it is possible will be good to have otherwise I will work with default behaviour. | | sandeep k Wednesday, September 23, 2009 8:39 AM | ThanksWang.
I need a Dialog with option Upgrade or Remove. Is it possible?
I'm afraid you'll have to use other authoring tools to make such a dialog.I can't say it is not possible, however, it will take you a while doing that in a Visual Studio setup project. Besides, I don't think the options make much sense. The recommended way of removingalready installed software is via the Add/Remove Programs control panel. It looks even weird that your v2.0 application setup can remove the v1.0 applicationthen just exit and do nothing else. The only option that makes sense is upgrade. So I don't think it necessary for an option dialog like that, just put a message on the first screen of the setupthat tells the user if an old version already installed, it will be automatically removed and then the new version will be installed. To achieve that, just set the RemovePreviousVersions like Phil said. If you still want that dialog, you might want to take a look at the Windows Installer XML toolsetor other commercial setup authoring tools. Regards, Jie MSDN Subscriber Support in Forum If you have any feedback on our support, please contact msdnmg@microsoft.com
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have any feedback, please tell us. The CodeFx ProjectMy Blog (in Simplified Chinese)- Marked As Answer bysandeep k Wednesday, September 23, 2009 12:57 PM
-
| | Wang, Jie Wednesday, September 23, 2009 12:41 PM |
|