Posted 13 April 2006 - 15:50
I recently received the honour () of maintaining & modifying a whole bunch of VB6 applications.
Most of these applications have MSI setups created with Visual Studio Installer 1.1.
While cleaning up the project, I ran into a litte problem with shortcuts.
The original MSI didn't create any shortcuts. The users had to create them theirselves. I modified the Visual Studio Installer project so the shortcuts are created during installation.
So far, everything works fine.
One of the application can be started by just opening the application, or by specifying a filename as a parameter.
When the application was installed as before, and the users created their own shortcuts, they could drag a file onto the shortcut to launch the program.
However, since I added the shortcuts to the installer, this feature doesn't work anymore (when viewing the properties of the shortcut, the target fields is readonly and contains only the name of the application, not the full path).
Does anyone know if this behaviour is by design & whether it can be changed?
Thanks for your help.
Posted 13 April 2006 - 16:40
Posted 14 April 2006 - 14:18
Does this property always affect all shortcuts in the project, or is there a way to specify which shortcuts should be affected by it?
Posted 15 April 2006 - 20:17
Posted 16 April 2006 - 11:22
It's no problem that I can't set it from the VS UI. I created a command Line utility that allows me to pass an msi file & a SQL statement to execute on that file. I can put the build of the MSI & the update of msi in a build script.