How to find Windows Forms product code?

I need my application to be uninstalled.

Reason: It occurred to me that my application is deleting its files (my bad), but the user of my application does not understand why he needs to delete it and refuses to delete it. However, he still complains of persistent problems. And in the Terms of Use there is a line that says: "... we reserve the right to remove the application from your computer and temporarily or permanently stop using your software."

So, I participated a bit in how to remove the program (which will be replaced by the new version) and came across Remove Windows C # application from myself and the accepted answer says that you need a “product code”. What is it and where can I find it? I was looking for this, but I can not find anything.

thank

+3
source share
3 answers

I'm not sure about VS 2010, but in VS2008 setup projects there is a .vdproj project file that can be opened with a simple text editor (for example, notepad). If you are looking for the word "ProductCode", you will find a string like

 "ProductCode" = "8:{GUID}"

(GUID is what you are looking for).

+1
source

MSI, orca, msi db . Orca Windows SDK.

msi

msi /i [your msi] -lvx* log.log

.

- , .

+4

You created the product code (if one exists) when you created the MSI to install your application. You need the same product code that you used during installation to uninstall it using the Windows installer.

+2
source

Source: https://habr.com/ru/post/1796548/


All Articles