我创建了一个安装项目来安装我的应用程序(*.bat 文件)并成功安装到最终用户的电脑上。并运行相同的 setup.exe 来卸载已安装的应用程序。
现在,我通过修改 *.bat 文件、添加外部文件等来增强应用程序。
然后,需要更新安装项目以添加新添加的外部文件,一切顺利,重建完成。
问题是,当我在最终用户的电脑上执行新重建的 setup.exe 时,卸载功能消失了。它只是说,安装了旧版本需要先通过控制面板卸载。
为什么安装项目的卸载功能在创建新的 setup.exe 后不再起作用?
任何关于正确方向的指导都值得赞赏。
I created a setup project to install my application (*.bat file) and successfully installed to end-users' pc. And run the same setup.exe to uninstall the installed application.
Now, I enhanced the application by modifying *.bat file, adding external files, etc..
Then, need to update the setup project to add the newly added external files and things go well and rebuild was done.
The problem is, when I execute the newly rebuild setup.exe on the end-users' pc, uninstall functionality was gone. It only says, old version was installed need to uninstall first via control panel.
Why the uninstall functionality of Setup Project is not longer functioning upon creation of new setup.exe?
Any guidance on the right direction is appreciated.
发布评论
评论(1)
要升级旧版本,您可以尝试以下操作:
这些是主要升级。
To upgrade older versions you can try this:
These are the main requirements of a major upgrade.