Installer Project - Create item on Program Menu that opens a folder

  • Thread starter Thread starter TheRealDZ
  • Start date Start date
T

TheRealDZ

Guest
Hi,


I created a Windows application using C#, Visual Studio 2017. I also created an Installer. The installer copies the EXE and two documents to the correct folders on the hard drive.

I created an item on the User's Program Menu that runs the EXE. It works fine and here's how I did it. In the File System on Target machine, I created a folder under User's Program Menu. I selected the folder and right clicked in the Name area on the right. Clicked Create New Shortcut and navigated to Application Folder and selected Primary output from <my project name>. I then renamed the shortcut that was created and all is well.

Now I want to create a shortcut to a folder that contains two documents. How do I do this? I created a shortcut on my hard drive that points to the folder that contains the two documents. I can't figure out how to add a link to that shortcut in the File System on Target Machine, or if that is even the right way to do this. I want the user to be able to click on their Program Menu, select the folder for the application, click on Documents, and Windows Explorer to open in the folder that contains the two documents.


Thank you!

Continue reading...
 
Back
Top