Hi, I am trying to follow the examples to accomplish a simple setup and am hashing about in confusion over something.
I want the installer to insert into the Start Menu, within the folder for My Company, a simple shortcut to run my program. This is addition to installing also a shortcut onto the Desktop (which is working, thanks).
I see your sample "ShortCut" but I don't want an entry for Samples, nor for un-install. Just a simple program-launcher.
Here is what I have at this moment...
It is creating the folder "DesignForge", however it is empty. No program-shortcut within it.
Q: What is the purpose of project.UI = WUI.WixUI_InstallDir; ?
Q: What is the difference between a FileShortcut and a ExeFileShortcut ?
Thank you for your help!
sincerely,
James W. Hurst
e-mail: JamesH@Designforge.com
I want the installer to insert into the Start Menu, within the folder for My Company, a simple shortcut to run my program. This is addition to installing also a shortcut onto the Desktop (which is working, thanks).
I see your sample "ShortCut" but I don't want an entry for Samples, nor for un-install. Just a simple program-launcher.
Here is what I have at this moment...
var project = new Project("DesignForge ImageVUr",
new Dir(@"C:\Program Files\DesignForge\ImageVUr",
//new Dir( @"%ProgramFiles%\My Company\My Product",
new Files(@"Files\Bin\*.*", f => !f.EndsWith(".exe")),
new File(@"Files\Docs\Manual.txt"),
new File(@"Files\Bin\ImageVUr.exe",
new FileShortcut("ImageVUr", "INSTALLDIR"), //INSTALLDIR is the ID of "%ProgramFiles%\My Company\My Product"
new FileShortcut("ImageVUr", @"%Desktop%") {IconFile = @"Files\Bin\App.ico", WorkingDirectory = "%Temp%"})),
new Dir(@"%ProgramMenu%\DesignForge",
new ExeFileShortcut("ImageVUr", "INSTALLDIR", "")));
"DesignForge" is the name for My Company, and "ImageURr" is My Program.It is creating the folder "DesignForge", however it is empty. No program-shortcut within it.
Q: What is the purpose of project.UI = WUI.WixUI_InstallDir; ?
Q: What is the difference between a FileShortcut and a ExeFileShortcut ?
Thank you for your help!
sincerely,
James W. Hurst
e-mail: JamesH@Designforge.com