I have a MSI created realy dirty :-) it' s an installshield that runs setup -r from the Commandline and the Install is in the MSI.

As i am New to VBS i wanted to ask you guys for an example Script that runs after install.
This Script has to remove 2 Shortcuts that are placed by the native install.

Thanks in advance!
0 Comments   [ - ] Hide 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


Here's a basic example:

Const sSHORTCUTPATH = "C:\Documents and Settings\All Users\Start Menu\Programs\Windows Journal Viewer.lnk"

Set oFso = CreateObject("Scripting.FileSystemObject")

oFso.DeleteFile sSHORTCUTPATH, True

Set oFso = Nothing
Answered 01/18/2006 by: WiseUser
Fourth Degree Brown Belt

Please log in to comment
Thanks WiseUser.

Ive implemented the Script and im happy with the result!

Answered 01/20/2006 by: The Packeteer
Senior Yellow Belt

Please log in to comment