/bundles/itninjaweb/img/Breadcrumb_cap_w.png
just a quick question

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

cheers
0 Comments   [ - ] Hide Comments

Comments

Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
Answer this question or Comment on this question for clarity

Answers

0
Can't you just remove them from the package?
Answered 05/31/2007 by: fuz_kitten
Second Degree Blue Belt

Please log in to comment
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
Answered 05/31/2007 by: cygan
Fifth Degree Brown Belt

Please log in to comment
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
Answered 05/31/2007 by: fuz_kitten
Second Degree Blue Belt

Please log in to comment
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
Answered 05/31/2007 by: nheim
Tenth Degree Black Belt

Please log in to comment
0
thanks a lot guys got it in the end

cheers
Answered 06/04/2007 by: cygan
Fifth Degree Brown Belt

Please log in to comment