I need to create a msi file which would be expire after say 45 days using VS setup Project. How can i implement this without using the database.The user wont be able to change or update any settings of expiry.
There is no option in Visual Studio Setup Project to do so.
Instead you can read the values from registry / other secure source on Application Start
Here is a code snippet on how to do it without DB