File->New Project
In Project Types tree select "Setup and Deployment Projects"
In Templates window select "Setup Wizard"
Type in Name edit field the name of the setup project: Let "projSetup"
Choose Location using Browse button
Click Ok
Now you have the File System opened and ready to configure:
Left window is File System Target Machine tree view which contains
Application Folder
User's Desktop
User's Programs Menu
For these entries set Always Create to "True" in the Properties window.
Right click on Application Folder entry and choose Add to add files there
Right click on User's Desktop entry and choose Create shortcut to User's Desktop. Entry name/type will be added in the right window.
Right click on this entry and choose Rename to rename it to the name you want e.g. it is related with your exe
Right click on this entry and choose Properties window. In the Propoerties window set the following entries:
Icon, Working Folder (use ...Browse and select Application Folder entry), Target (use ... to locate the Application Folder and there the .exe file that you add befor.
Repeat for User Program menu shortcut.
Build and run setup.exe
-obislavu-
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.