/build/static/layout/Breadcrumb_cap_w.png

Deleting shortcuts

just a quick question

can I get a script to delete all shortcuts when an msi installs

cheers

0 Comments   [ + ] Show comments

Answers (5)

Posted by: fuz_kitten 16 years ago
Second Degree Blue Belt
0
Can't you just remove them from the package?
Posted by: cygan 16 years ago
Fifth Degree Brown Belt
0
there are no entries in the shorcut table

it is a vendors msi from setup.exe

can't find shortcut entries in log file
Posted by: fuz_kitten 16 years ago
Second Degree Blue Belt
0
Do you need to lanuch the setup.exe, cant you just install the MSI?

If not...

----
Dim FSO, aFile

set FSO=CreateObject("Scripting.FileSystemObject")
set aFile=fso.GetFile("C:\Documents and Settings\All Users\Start Menu\Programs\YourIcon.lnk")
aFile.Delete
----

You might have to add a while loop a so the vbs doesnt try and remove the icon before its been created. I have a Wise script to do that as my VB is pants. Let me know if you want it.

Charlie
Posted by: nheim 16 years ago
10th Degree Black Belt
0
Hi cygan,
log the install and look which custom action writes the SC's. After that, generate a transform, in which you disable that particular CA.
Regards, Nick
Posted by: cygan 16 years ago
Fifth Degree Brown Belt
0
thanks a lot guys got it in the end

cheers
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ