$self->{msi_db}->AddData(Shortcut => [ {'Shortcut' => StrToUKey($target_file), 'Directory_' => $dir_key, 'Name' => $shortcut_name, 'Component_' => $component, 'Target' => $Feature, 'Arguments' => $argument_str, 'Description' => 'Description', 'Hotkey' => undef, 'Icon_' => undef, 'IconIndex' => undef, 'ShowCmd' => undef, 'WkDir' => undef, }], #### ' Get a Shell object Dim WSHShell Set WSHShell = WScript.CreateObject("WScript.Shell") ' Create a shortcut object Dim MyShortcut Set MyShortcut = WSHShell.CreateShortcut("C:\Temp\Shortcut.lnk") ' Set shortcut object properties and save it MyShortcut.TargetPath = "\\server\xyz\foo.exe" MyShortcut.WorkingDirectory = "\\server\xyz" MyShortcut.WindowStyle = 4 MyShortcut.Save