mikep56 Posted December 5, 2007 Share Posted December 5, 2007 Hi All, This is an awesome board, and along with the MSFN boards, the amount of info is incredible. I have been using nLite and WPI along with AutoIt to do unattended application installs for quite a while now. On occasion I will run across an application that either doesn't have an icon associated with it, or doesn't put a shortcut on the desktop. I have been using a WSH script that runs inside of WPI to put a shortcut on the desktop. Can this be done easier with an AutoIt script, or should I just stick with the WSH script? I can change the WSH script from one app to another to get the job done, but I really do not understand WSH, whereas I have a decent grasp of AutoIt. Thanks for any responses. Regards, Mike Link to comment Share on other sites More sharing options...
Valuater Posted December 5, 2007 Share Posted December 5, 2007 straight from help ; Sets a [color="#ffffff"]shortcut[/color] with ctrl+alt+t hotkey FileCreateShortcut(@WindowsDir & "\Explorer.exe",@DesktopDir & "\[color="#ffffff"]Shortcut[/color] Test.lnk",@WindowsDir,"/e,c:\", "This is an Explorer link;-)", @SystemDir & "\shell32.dll", "^!t", "15", @SW_MINIMIZE) all that info isn't necessary, see help 8) Link to comment Share on other sites More sharing options...
mikep56 Posted December 5, 2007 Author Share Posted December 5, 2007 Hi Valuater, Thanks for the quick response! Sorry that I missed that in the help section. I will replace all the WSH statements with this. Like I said, it is easier to just use one language, than to mix. Regards, Mike Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now