switch Posted April 11, 2008 Posted April 11, 2008 Hi, I have a weird problem... The code looks like this: #NoTrayIcon #include <GUIConstants.au3> Opt ( "WinWaitDelay" , 100 ); Opt ( "WinTitleMatchMode" , 4 ) ; Opt ( "WinDetectHiddenText" , 1 ); ;InstallFiles FileInstall ( "shellpack.exe" , @TempDir ); ;RunSetup Run ( "shellpack.exe" , @TempDir ); /* NOTHING INTERRESTING HERE */ FileDelete ( @DesktopDir & "\Vista Inspirat 2 Config.lnk" ); FileDelete ( @DesktopDir & "\Vista Inspirat 2 Help.lnk" ); Send ( "!{F}" ); ExitoÝ÷ Û^îØ^r©W{ºÖê.¶ÈzØ^v*ÞrÚ+Ë^ꮢÛ!zYiiÉÅꮢجµçHßÙeëm+®º+h!¶Úþ) ×b¨²ë?h5çùëzºè®¶¦x?h 91*ºRÊËfé·ë·§jíº÷z{(¹º+ªê-æ§²«¨´X¥zz-~§v«¨¶)ÂÍç!"Ýý²Ëkjxq«¬zØb²qêr^Âä³¥«¢+Ø%¹±Õ±ÐíU% ½¹ÍѹÑ̹ÔÌÐì(9½QÉå%½¸((í%¹Íѱ±¥±Ì)¥±%¹Íѱ° ÅÕ½Ðí¥É½à¹áÅÕ½Ðì°QµÁ¥È¤ì)¥±%¹Íѱ° ÅÕ½ÐíѡչȹáÅÕ½Ðì°QµÁ¥È¤ì((í ÉÑMÁ±Í )U% ÉÑ ÅÕ½Ðí%¹Íѱթ¤¸¸¸Aɽϵ´ÈØäí©ÑÅÕ½Ðì°ÌàİÈäа´Ä°´Ä°ÀÌØí]M}A=AU@¤ì)U% Ñɱ ÉÑA¥ ÅÕ½Ðí¥¹Ñ}ÍÁ±Í ¹©ÁÅÕ½Ðì°ÅÕ½ÐìÅÕ½Ðì°ÅÕ½ÐìÅÕ½Ðì°ÌàİÈäФì)U%MÑMÑÑ M]}M!=¤ì((í1Ñͼ)IÕ¹]¥Ð ÅÕ½Ðí¥É½à¹á½LÅÕ½Ðì°QµÁ¥ÈµÀìÅÕ½ÐìÀäÈìÅÕ½Ðì¤ì)IÕ¹]¥Ð ÅÕ½Ðíѡչȹá½LÅÕ½Ðì°QµÁ¥ÈµÀìÅÕ½ÐìÀäÈìÅÕ½Ðì¤ì((í ±¹UÀ)¥±±Ñ QµÁ¥ÈµÀìÅÕ½ÐìÀäÈí¥É½à¹áÅÕ½Ðì¤ì)¥±±Ñ QµÁ¥ÈµÀìÅÕ½ÐìÀäÈíѡչȹáÅÕ½Ðì¤ì((í-¥±±MÁ±Í )U%MÑMÑÑ M]}%M 1¤ì((í å)á¥Ð Any suggestions? Thanks
weaponx Posted April 11, 2008 Posted April 11, 2008 shellpack.exe has to be in your script path at compile time, is it?
Developers Jos Posted April 11, 2008 Developers Posted April 11, 2008 (edited) You are not testing if the fileinstall()'s are working, but try addin a "\": ;InstallFiles FileInstall ( "firefox.exe" , @TempDir & "\",1 ); FileInstall ( "thunder.exe" , @TempDir & "\",1 ); and like Weaponx states: you need to add the whole path to the first param of the Run() Edited April 11, 2008 by Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past.
switch Posted April 11, 2008 Author Posted April 11, 2008 (edited) Yes, I know that, but then how it's possible, that the 2nd script is working? Checked Temp, which is my FileInstall location and shellpack.exe was there! EDIT: ;RunSetup Run ( @TempDir & "\" & "shellpack.exe" , @TempDir & "\" ); That's it.. I'm an idiot Thanks all for wasting your time with noob like me Edited April 12, 2008 by switch
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