Questions tagged [advertised-shortcut]
12 questions
87
votes
3 answers
Wix create non advertised shortcut for all users / per machine
In WIX, how do you create a non advertised shortcut in the allusers profile? So far I've only been able to accomplish this with advertised shortcuts. I prefer non-advertised shortcuts because you can go to the shortcut's properties and use "find…

mcdon
- 4,931
- 3
- 38
- 36
14
votes
4 answers
DISABLEADVTSHORTCUTS=1 disables all shortcuts
We have an application to be run on startup that allows many installed files to be changed after installation. We are trying to turn off the self-healing mode by setting the DISABLEADVTSHORTCUTS=1 property in Orca. However, no shortcuts are being…

HatAndBeard
- 1,416
- 3
- 18
- 31
9
votes
3 answers
Why does the MSI installer reconfigure if I delete a file?
I have created an MSI installer package in Visual Studio 2008. The problem is that after install, if I delete ANY of the installed files. This is not my intended behavior for my installer package. My File installation properties are:
PackageAs…

JJ3
- 133
- 1
- 5
5
votes
1 answer
Can't create non-advertised shortcut in InstallShield 2012 Limited Edition
I've created an InstallShield 2012 Limited Edition installer project for a Visual Studio 2012 solution. I've configured in to create a "Send To" shortcut. However, it creates an advertised shortcut, so Windows doesn't actually display it in the…

Sam
- 40,644
- 36
- 176
- 219
3
votes
1 answer
In Wix can an advertised shortcut use the icon from a systems file association?
A question is about Wix and setting the icon of an advertised shortcut:
If your installer contains a manual, or document in say .pdf format and you want to create a shortcut to the PDF file. Is it possible to use an icon for the shortcut based on…

Andrew
- 33
- 2
1
vote
0 answers
PowerShell Get-AdvertisedShortcut
After I found out that sometimes shortcut targets cannot be queried by WScript.Shell object, but in case of advertised shortcuts need to be queried by WindowsInstaller.Installer object, I searched the web and found the promising solution below.
But…

Surak
- 63
- 7
1
vote
1 answer
How Do I Prevent the Installer from Running when Application Data Files are Removed?
I have an application written in VB.Net with Visual Studio 2005. The application allows the user to create and save project files. When I distribute the application, I include some demo project files, which I install in the common application data…

T.C.
- 215
- 1
- 2
- 10
1
vote
0 answers
Getting the full path of an advertised shortcut from outside the MSI
I working on getting the full directory path of the key file of a component, of an advertised shortcut using VBScript, from outside an MSI.
I read we can make use of the MsiGetComponentPath & MsiGetShortcutTarget function. Below is the code that I…

Naveen Rajeev
- 77
- 2
- 8
0
votes
2 answers
How do you remove an advertised shortcut programmatically?
So I botched an msi installer and deployed it after only testing installation, not uninstall (bad I know, added running of an exe after install, but forgot to specify that it should only occur on install not uninstall).
I found the Windows…

Davy8
- 30,868
- 25
- 115
- 173
0
votes
1 answer
How to get targetPath, workingDir information from microsoft office shotcuts(eg. Word 2013.lnk)
Tried using IShellLink COM interface to get the information of .LNK files.
It works fine for many application shorcuts
But for Microsoft Office application shortcuts It doesn't provide correct information
For instance:
while reading…

Rakesh
- 271
- 1
- 2
- 11
-1
votes
2 answers
Trying to open shortcut in Programs Menu folder throwing exception
I tried the above solution,but unfortunately there is no difference in behaviour.So kindly suggest how to proceed further.
Regards,
Ranjan VijayKumar.

RANJAN V
- 11
- 2
-2
votes
1 answer
Using Python to search program installed on server
I would like to use Python to search Projectwise (a document management program). I thought this would work:
import subprocess
subprocess.call("Projectwise.exe")
However, it seems that Projectwise is not installed locally on my work computer.…

Eunice
- 13
- 4