Hi,
This could be achieved through a custom action. If the MSI is installed from the CD-ROM you can retrieve it's location from the SourceDir property.
Then, you can use a custom action to set a property that you have defined to the desired path.
Example:
Code: Select all
Session.property("YourProperty") = Left(Session.property("SourceDir"), 3) + "Dir\somefile.txt"
This custom action extracts the drive letter of the CD-ROM and attaches to it a path to a file.
You can then use "YourProperty" to set the target for the shortcut.
Of course, this custom action should be placed before the "CreateShortcuts" standard action, for example on "BindImage".
Regards,
Mihai
FOLLOW US
Get the latest news in Application Packaging