switch Posted April 11, 2008 Share 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 Link to comment Share on other sites More sharing options...
weaponx Posted April 11, 2008 Share Posted April 11, 2008 shellpack.exe has to be in your script path at compile time, is it? Link to comment Share on other sites More sharing options...
Developers Jos Posted April 11, 2008 Developers Share 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. Link to comment Share on other sites More sharing options...
switch Posted April 11, 2008 Author Share 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 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