I am creating an MSI from inside visual studio 2008.
This is what I am doing:
- (With the project I am creating this for open in Visual Studio) right click Add new project
- Setup and Deployment > Setup Project
- Give it a name
- Right click Application Folder > Add > Project Output: Primary Output
- Question: does this contain all I need to run the project?
- I want to create the .msi to put a shortcut to it on the Users desktop, so
- Create shortcut to Primary output from Project
- Move this to the users desktop folder
- Question: how do I get this to keep the icon from the project!! conveniently doing this seems to have lost the app icon and picked some random generic one instead.
Thanks,
edit 0: Oh and also, can I set so when running the .msi the user cannot change where it is installed to?
Nobody knows how to do this?