When we deploying Setup of window application. There are 2 properties for deployment project names "Productcode" and "Upgradecode".


My requirement is to generate these product code and upgrade code dynamically using c# code in my page. I want to edit MSI file dynamically and want to edit these type of values.

Can anyone please let me know the way hoe to generate these codes dynamically.

Thanks in advance.

Mayur