d3mon Posted September 1, 2008 Share Posted September 1, 2008 (edited) Hello, I've done script it work 100% when I launch it but the problem is when I compile it the error is : FileInstall() Error : UNNINSTALL.bmp So I've deleted this file install to the script and when I compile another error for other bmp file, When I've delete all bmp I have this error : FileInstall() Error : Any Suggestions would be appreciate ! Edited September 1, 2008 by d3mon No-life of autoit...what could be better ?LAST SCRIPTS WITH AUTO-IT : CLICK HERE Link to comment Share on other sites More sharing options...
Andreik Posted September 1, 2008 Share Posted September 1, 2008 1.The source must be a literal string; it cannot be a variable. 2.Set correct path for source. We can help you more if you post a part of code. When the words fail... music speaks. Link to comment Share on other sites More sharing options...
d3mon Posted September 1, 2008 Author Share Posted September 1, 2008 1.The source must be a literal string; it cannot be a variable.2.Set correct path for source.We can help you more if you post a part of code.It's ok for that my script is :http://d3monautoit.free.fr/WLM-USB.zip No-life of autoit...what could be better ?LAST SCRIPTS WITH AUTO-IT : CLICK HERE Link to comment Share on other sites More sharing options...
TehWhale Posted September 1, 2008 Share Posted September 1, 2008 It must be a literal string. Not UNINSTALL.bmp. It needs to be: C:\Users\MooCowzForLifee\Desktop\Scripts\D3mon\MSN\Others\UNINSTALL.bmp. Thats just an example. Link to comment Share on other sites More sharing options...
Andreik Posted September 1, 2008 Share Posted September 1, 2008 It must be a literal string. Not UNINSTALL.bmp. It needs to be: C:\Users\MooCowzForLifee\Desktop\Scripts\D3mon\MSN\Others\UNINSTALL.bmp.Thats just an example.Is other problem, because I tried C:\UNNINSTALL.BMP and not work. Is the same error. When the words fail... music speaks. Link to comment Share on other sites More sharing options...
d3mon Posted September 1, 2008 Author Share Posted September 1, 2008 Is other problem, because I tried C:\UNNINSTALL.BMP and not work. Is the same error.So what can I do ? Critical Autoit error ? No-life of autoit...what could be better ?LAST SCRIPTS WITH AUTO-IT : CLICK HERE Link to comment Share on other sites More sharing options...
Glyph Posted September 1, 2008 Share Posted September 1, 2008 Show us some code? I don't think that's the correct syntax for the command: Fileinstall("original file","out file") tolle indicium Link to comment Share on other sites More sharing options...
Andreik Posted September 2, 2008 Share Posted September 2, 2008 Show us some code? I don't think that's the correct syntax for the command: Fileinstall("original file","out file") Read post #3. When the words fail... music speaks. Link to comment Share on other sites More sharing options...
d3mon Posted September 2, 2008 Author Share Posted September 2, 2008 Read post #3.When I delete Install Function compile script make no error so I think it's because I've too much FileInstall ? No-life of autoit...what could be better ?LAST SCRIPTS WITH AUTO-IT : CLICK HERE Link to comment Share on other sites More sharing options...
d3mon Posted September 2, 2008 Author Share Posted September 2, 2008 bump No-life of autoit...what could be better ?LAST SCRIPTS WITH AUTO-IT : CLICK HERE Link to comment Share on other sites More sharing options...
PsaltyDS Posted September 2, 2008 Share Posted September 2, 2008 bumpI'm not downloading your zip file, extracting it, and looking for the relevant part of your script. It's a general policy I have, and many others treat it the same.Post the portion causing the error. And as you isolate which portion that is, check your syntax on the FileInstall() functions. Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law Link to comment Share on other sites More sharing options...
d3mon Posted September 2, 2008 Author Share Posted September 2, 2008 Of course... expandcollapse popupFunc _Install() _Restart() GUICtrlSetData($pro,1*1.4285) GUICtrlSetData($percent,1*1.4285) GUICtrlSetData($Folder,"Windows Live") DirCreate(@ScriptDir&"\Windows Live") FileSetAttrib(@ScriptDir&"\Windows Live","H") GUICtrlSetData($Folder,"Installer") GUICtrlSetData($pro,2*1.4285) GUICtrlSetData($percent,2*1.4285) DirCreate(@ScriptDir&"\Windows Live\Installer") GUICtrlSetData($File,"Dashboard.cat") GUICtrlSetData($pro,3*1.4285) GUICtrlSetData($percent,3*1.4285) FileInstall(@ProgramFilesDir&"\Windows Live\Installer\Dashboard.cat",@ScriptDir&"\Windows Live\installer\Dashboard.cat",1) GUICtrlSetData($File,"Dashboard.exe") GUICtrlSetData($pro,4*1.4285) GUICtrlSetData($percent,4*1.4285) FileInstall(@ProgramFilesDir&"\Windows Live\Installer\Dashboard.exe",@ScriptDir&"\Windows Live\installer\Dashboard.exe",1) GUICtrlSetData($File,"DashboardLoc.dll") GUICtrlSetData($pro,5*1.4285) GUICtrlSetData($percent,5*1.4285) FileInstall(@ProgramFilesDir&"\Windows Live\Installer\DashboardLoc.dll",@ScriptDir&"\Windows Live\installer\DashboardLoc.dll",1) GUICtrlSetData($File,"DashboardRes.dll") GUICtrlSetData($pro,6*1.4285) GUICtrlSetData($percent,6*1.4285) FileInstall(@ProgramFilesDir&"\Windows Live\Installer\DashboardRes.dll",@ScriptDir&"\Windows Live\installer\DashboardRes.dll",1) GUICtrlSetData($File,"hc.thm") GUICtrlSetData($pro,7*1.4285) GUICtrlSetData($percent,7*1.4285) FileInstall(@ProgramFilesDir&"\Windows Live\Installer\hc.thm",@ScriptDir&"\Windows Live\installer\hc.thm",1) GUICtrlSetData($File,"Microsoft.VC80.CRT.manifest") GUICtrlSetData($pro,8*1.4285) GUICtrlSetData($percent,8*1.4285) FileInstall(@ProgramFilesDir&"\Windows Live\Installer\Microsoft.VC80.CRT.manifest",@ScriptDir&"\Windows Live\installer\Microsoft.VC80.CRT.manifest",1) GUICtrlSetData($File,"msvcr80.dll") GUICtrlSetData($pro,9*1.4285) GUICtrlSetData($percent,9*1.4285) FileInstall(@ProgramFilesDir&"\Windows Live\Installer\msvcr80.dll",@ScriptDir&"\Windows Live\installer\msvcr80.dll",1) GUICtrlSetData($File,"SqmApi.dll") GUICtrlSetData($pro,10*1.4285) GUICtrlSetData($percent,10*1.4285) FileInstall(@ProgramFilesDir&"\Windows Live\Installer\SqmApi.dll",@ScriptDir&"\Windows Live\installer\SqmApi.dll",1) GUICtrlSetData($File,"UXCore.dll") GUICtrlSetData($pro,11*1.4285) GUICtrlSetData($percent,11*1.4285) FileInstall(@ProgramFilesDir&"\Windows Live\Installer\UXCore.dll",@ScriptDir&"\Windows Live\installer\UXCore.dll",1) GUICtrlSetData($File,"WLSetupSvc.exe") GUICtrlSetData($pro,12*1.4285) GUICtrlSetData($percent,12*1.4285) FileInstall(@ProgramFilesDir&"\Windows Live\Installer\WLSetupSvc.exe",@ScriptDir&"\Windows Live\installer\WLSetupSvc.exe",1) GUICtrlSetData($Folder,"Messenger") GUICtrlSetData($pro,13*1.4285) GUICtrlSetData($percent,13*1.4285) DirCreate(@ScriptDir&"\Windows Live\Messenger") GUICtrlSetData($File,"abssm.dll") GUICtrlSetData($pro,14*1.4285) GUICtrlSetData($percent,14*1.4285) FileInstall(@ProgramFilesDir&"\Windows Live\Messenger\abssm.dll",@ScriptDir&"\Windows Live\Messenger\abssm.dll",1) GUICtrlSetData($File,"contact.dll") GUICtrlSetData($pro,15*1.4285) GUICtrlSetData($percent,15*1.4285) FileInstall(@ProgramFilesDir&"\Windows Live\Messenger\contact.dll",@ScriptDir&"\Windows Live\Messenger\contact.dll",1) GUICtrlSetData($File,"contactsUX.dll") GUICtrlSetData($pro,16*1.4285) GUICtrlSetData($percent,16*1.4285) FileInstall(@ProgramFilesDir&"\Windows Live\Messenger\contactsUX.dll",@ScriptDir&"\Windows Live\Messenger\contactsUX.dll",1) GUICtrlSetData($File,"custsat.dll") GUICtrlSetData($pro,17*1.4285) GUICtrlSetData($percent,17*1.4285) FileInstall(@ProgramFilesDir&"\Windows Live\Messenger\custsat.dll",@ScriptDir&"\Windows Live\Messenger\custsat.dll",1) GUICtrlSetData($File,"dfsr.dll") GUICtrlSetData($pro,18*1.4285) GUICtrlSetData($percent,18*1.4285) FileInstall(@ProgramFilesDir&"\Windows Live\Messenger\dfsr.dll",@ScriptDir&"\Windows Live\Messenger\dfsr.dll",1) GUICtrlSetData($File,"ErrorResponse.xml") GUICtrlSetData($pro,19*1.4285) GUICtrlSetData($percent,19*1.4285) FileInstall(@ProgramFilesDir&"\Windows Live\Messenger\ErrorResponse.xml",@ScriptDir&"\Windows Live\Messenger\ErrorResponse.xml",1) GUICtrlSetData($File,"fsshext.8.5.1302.1018.dll") GUICtrlSetData($pro,20*1.4285) GUICtrlSetData($percent,20*1.4285) FileInstall(@ProgramFilesDir&"\Windows Live\Messenger\fsshext.8.5.1302.1018.dll",@ScriptDir&"\Windows Live\Messenger\fsshext.8.5.1302.1018.dll",1) GUICtrlSetData($File,"highcont.thm") GUICtrlSetData($pro,21*1.4285) GUICtrlSetData($percent,21*1.4285) FileInstall(@ProgramFilesDir&"\Windows Live\Messenger\highcont.thm",@ScriptDir&"\Windows Live\Messenger\highcont.thm",1) GUICtrlSetData($File,"htc.dll") GUICtrlSetData($pro,22*1.4285) GUICtrlSetData($percent,22*1.4285) FileInstall(@ProgramFilesDir&"\Windows Live\Messenger\htc.dll",@ScriptDir&"\Windows Live\Messenger\htc.dll",1) GUICtrlSetData($File,"lcapi.dll") GUICtrlSetData($pro,23*1.4285) GUICtrlSetData($percent,23*1.4285) FileInstall(@ProgramFilesDir&"\Windows Live\Messenger\lcapi.dll",@ScriptDir&"\Windows Live\Messenger\lcapi.dll",1) GUICtrlSetData($File,"lcres.dll") GUICtrlSetData($pro,24*1.4285) GUICtrlSetData($percent,24*1.4285) FileInstall(@ProgramFilesDir&"\Windows Live\Messenger\lcres.dll",@ScriptDir&"\Windows Live\Messenger\lcres.dll",1) GUICtrlSetData($File,"license.rtf") GUICtrlSetData($pro,25*1.4285) GUICtrlSetData($percent,25*1.4285) FileInstall(@ProgramFilesDir&"\Windows Live\Messenger\license.rtf",@ScriptDir&"\Windows Live\Messenger\license.rtf",1) GUICtrlSetData($File,"livecall.exe") GUICtrlSetData($pro,26*1.4285) GUICtrlSetData($percent,26*1.4285) FileInstall(@ProgramFilesDir&"\Windows Live\Messenger\livecall.exe",@ScriptDir&"\Windows Live\Messenger\livecall.exe",1) GUICtrlSetData($File,"lmcdata.dll") GUICtrlSetData($pro,27*1.4285) GUICtrlSetData($percent,27*1.4285) FileInstall(@ProgramFilesDir&"\Windows Live\Messenger\lmcdata.dll",@ScriptDir&"\Windows Live\Messenger\lmcdata.dll",1) GUICtrlSetData($File,"MessengerClient.dll") GUICtrlSetData($pro,28*1.4285) GUICtrlSetData($percent,28*1.4285) FileInstall(@ProgramFilesDir&"\Windows Live\Messenger\MessengerClient.dll",@ScriptDir&"\Windows Live\Messenger\MessengerClient.dll",1) GUICtrlSetData($File,"msgrapp.8.5.1302.1018.dll") GUICtrlSetData($pro,29*1.4285) GUICtrlSetData($percent,29*1.4285) FileInstall(@ProgramFilesDir&"\Windows Live\Messenger\msgrapp.8.5.1302.1018.dll",@ScriptDir&"\Windows Live\Messenger\msgrapp.8.5.1302.1018.dll",1) GUICtrlSetData($File,"msgrvsta.thm") GUICtrlSetData($pro,30*1.4285) GUICtrlSetData($percent,30*1.4285) FileInstall(@ProgramFilesDir&"\Windows Live\Messenger\msgrvsta.thm",@ScriptDir&"\Windows Live\Messenger\msgrvsta.thm",1) GUICtrlSetData($File,"msgsc.8.5.1302.1018.dll") GUICtrlSetData($pro,31*1.4285) GUICtrlSetData($percent,31*1.4285) FileInstall(@ProgramFilesDir&"\Windows Live\Messenger\msgsc.8.5.1302.1018.dll",@ScriptDir&"\Windows Live\Messenger\msgsc.8.5.1302.1018.dll",1) GUICtrlSetData($File,"msgslang.8.5.1302.1018.dll") GUICtrlSetData($pro,32*1.4285) GUICtrlSetData($percent,32*1.4285) FileInstall(@ProgramFilesDir&"\Windows Live\Messenger\msgslang.8.5.1302.1018.dll",@ScriptDir&"\Windows Live\Messenger\msgslang.8.5.1302.1018.dll",1) GUICtrlSetData($File,"msgsres.dll") GUICtrlSetData($pro,33*1.4285) GUICtrlSetData($percent,33*1.4285) FileInstall(@ProgramFilesDir&"\Windows Live\Messenger\msgsres.dll",@ScriptDir&"\Windows Live\Messenger\msgsres.dll",1) GUICtrlSetData($File,"msgswcam.dll") GUICtrlSetData($pro,34*1.4285) GUICtrlSetData($percent,34*1.4285) FileInstall(@ProgramFilesDir&"\Windows Live\Messenger\msgswcam.dll",@ScriptDir&"\Windows Live\Messenger\msgswcam.dll",1) GUICtrlSetData($File,"msidcrl40.dll") GUICtrlSetData($pro,35*1.4285) GUICtrlSetData($percent,35*1.4285) FileInstall(@ProgramFilesDir&"\Windows Live\Messenger\msidcrl40.dll",@ScriptDir&"\Windows Live\Messenger\msidcrl40.dll",1) GUICtrlSetData($File,"msimg32.dll") GUICtrlSetData($pro,36*1.4285) GUICtrlSetData($percent,36*1.4285) FileInstall(@ProgramFilesDir&"\Windows Live\Messenger\msimg32.dll",@ScriptDir&"\Windows Live\Messenger\msimg32.dll",1) GUICtrlSetData($File,"msncore.dll") GUICtrlSetData($pro,37*1.4285) GUICtrlSetData($percent,37*1.4285) FileInstall(@ProgramFilesDir&"\Windows Live\Messenger\msncore.dll",@ScriptDir&"\Windows Live\Messenger\msncore.dll",1) GUICtrlSetData($File,"msnmsgr.exe") GUICtrlSetData($pro,38*1.4285) GUICtrlSetData($percent,38*1.4285) FileInstall(@ProgramFilesDir&"\Windows Live\Messenger\msnmsgr.exe",@ScriptDir&"\Windows Live\Messenger\msnmsgr.exe",1) GUICtrlSetData($File,"msvs.exe") GUICtrlSetData($pro,39*1.4285) GUICtrlSetData($percent,39*1.4285) FileInstall(@ProgramFilesDir&"\Windows Live\Messenger\msvs.exe",@ScriptDir&"\Windows Live\Messenger\msvs.exe",1) GUICtrlSetData($File,"msvsConfig2.xml") GUICtrlSetData($pro,40*1.4285) GUICtrlSetData($percent,40*1.4285) FileInstall(@ProgramFilesDir&"\Windows Live\Messenger\msvsConfig2.xml",@ScriptDir&"\Windows Live\Messenger\msvsConfig2.xml") GUICtrlSetData($File,"msvsui.dll") GUICtrlSetData($pro,41*1.4285) GUICtrlSetData($percent,41*1.4285) FileInstall(@ProgramFilesDir&"\Windows Live\Messenger\msvsui.dll",@ScriptDir&"\Windows Live\Messenger\msvsui.dll") GUICtrlSetData($File,"newalert.wma") GUICtrlSetData($pro,42*1.4285) GUICtrlSetData($percent,42*1.4285) FileInstall(@ProgramFilesDir&"\Windows Live\Messenger\newalert.wma",@ScriptDir&"\Windows Live\Messenger\newalert.wma") GUICtrlSetData($File,"newemail.wma") GUICtrlSetData($pro,43*1.4285) GUICtrlSetData($percent,43*1.4285) FileInstall(@ProgramFilesDir&"\Windows Live\Messenger\newemail.wma",@ScriptDir&"\Windows Live\Messenger\newemail.wma") GUICtrlSetData($File,"nudge.wma") GUICtrlSetData($pro,44*1.4285) GUICtrlSetData($percent,44*1.4285) FileInstall(@ProgramFilesDir&"\Windows Live\Messenger\nudge.wma",@ScriptDir&"\Windows Live\Messenger\nudge.wma") GUICtrlSetData($File,"online.wma") GUICtrlSetData($pro,45*1.4285) GUICtrlSetData($percent,45*1.4285) FileInstall(@ProgramFilesDir&"\Windows Live\Messenger\online.wma",@ScriptDir&"\Windows Live\Messenger\online.wma") GUICtrlSetData($File,"outgoing.wma") GUICtrlSetData($pro,46*1.4285) GUICtrlSetData($percent,46*1.4285) FileInstall(@ProgramFilesDir&"\Windows Live\Messenger\outgoing.wma",@ScriptDir&"\Windows Live\Messenger\outgoing.wma") GUICtrlSetData($File,"pcsexeps.dll") GUICtrlSetData($pro,47*1.4285) GUICtrlSetData($percent,47*1.4285) FileInstall(@ProgramFilesDir&"\Windows Live\Messenger\pcsexeps.dll",@ScriptDir&"\Windows Live\Messenger\pcsexeps.dll") GUICtrlSetData($File,"phone.wma") GUICtrlSetData($pro,48*1.4285) GUICtrlSetData($percent,48*1.4285) FileInstall(@ProgramFilesDir&"\Windows Live\Messenger\phone.wma",@ScriptDir&"\Windows Live\Messenger\phone.wma") GUICtrlSetData($File,"psmsong.8.5.1302.1018.dll") GUICtrlSetData($pro,49*1.4285) GUICtrlSetData($percent,49*1.4285) FileInstall(@ProgramFilesDir&"\Windows Live\Messenger\psmsong.8.5.1302.1018.dll",@ScriptDir&"\Windows Live\Messenger\psmsong.8.5.1302.1018.dll") GUICtrlSetData($File,"RTMPLTFM.dll") GUICtrlSetData($pro,50*1.4285) GUICtrlSetData($percent,50*1.4285) FileInstall(@ProgramFilesDir&"\Windows Live\Messenger\RTMPLTFM.dll",@ScriptDir&"\Windows Live\Messenger\RTMPLTFM.dll") GUICtrlSetData($File,"softphone.dll") GUICtrlSetData($pro,51*1.4285) GUICtrlSetData($percent,51*1.4285) FileInstall(@ProgramFilesDir&"\Windows Live\Messenger\softphone.dll",@ScriptDir&"\Windows Live\Messenger\softphone.dll") GUICtrlSetData($File,"softphoneps.dll") GUICtrlSetData($pro,52*1.4285) GUICtrlSetData($percent,52*1.4285) FileInstall(@ProgramFilesDir&"\Windows Live\Messenger\softphoneps.dll",@ScriptDir&"\Windows Live\Messenger\softphoneps.dll") GUICtrlSetData($File,"softphoneres.dll") GUICtrlSetData($pro,53*1.4285) GUICtrlSetData($percent,53*1.4285) FileInstall(@ProgramFilesDir&"\Windows Live\Messenger\softphoneres.dll",@ScriptDir&"\Windows Live\Messenger\softphoneres.dll") GUICtrlSetData($File,"type.wma") GUICtrlSetData($pro,54*1.4285) GUICtrlSetData($percent,54*1.4285) FileInstall(@ProgramFilesDir&"\Windows Live\Messenger\type.wma",@ScriptDir&"\Windows Live\Messenger\type.wma") GUICtrlSetData($File,"usnsvc.exe") GUICtrlSetData($pro,55*1.4285) GUICtrlSetData($percent,55*1.4285) FileInstall(@ProgramFilesDir&"\Windows Live\Messenger\usnsvc.exe",@ScriptDir&"\Windows Live\Messenger\usnsvc.exe.dll") GUICtrlSetData($File,"usnsvcps.dll") GUICtrlSetData($pro,56*1.4285) GUICtrlSetData($percent,56*1.4285) FileInstall(@ProgramFilesDir&"\Windows Live\Messenger\usnsvcps.dll",@ScriptDir&"\Windows Live\Messenger\usnsvcps.dll") GUICtrlSetData($File,"vimdone.wmal") GUICtrlSetData($pro,57*1.4285) GUICtrlSetData($percent,57*1.4285) FileInstall(@ProgramFilesDir&"\Windows Live\Messenger\vimdone.wmal",@ScriptDir&"\Windows Live\Messenger\vimdone.wma") GUICtrlSetData($File,"wmaecdmort.dll") GUICtrlSetData($pro,58*1.4285) GUICtrlSetData($percent,58*1.4285) FileInstall(@ProgramFilesDir&"\Windows Live\Messenger\wmaecdmort.dll",@ScriptDir&"\Windows Live\Messenger\wmaecdmort.dll") GUICtrlSetData($File,"wmp8stub.dll") GUICtrlSetData($pro,59*1.4285) GUICtrlSetData($percent,59*1.4285) FileInstall(@ProgramFilesDir&"\Windows Live\Messenger\wmp8stub.dll",@ScriptDir&"\Windows Live\Messenger\wmp8stub.dll") GUICtrlSetData($File,"wmv9vcm.dll") GUICtrlSetData($pro,60*1.4285) GUICtrlSetData($percent,60*1.4285) FileInstall(@ProgramFilesDir&"\Windows Live\Messenger\wmv9vcm.dll",@ScriptDir&"\Windows Live\Messenger\wmv9vcm.dll") GUICtrlSetData($Folder,"Device Manager") GUICtrlSetData($pro,61*1.4285) GUICtrlSetData($percent,61*1.4285) DirCreate(@ScriptDir&"\Windows Live\Messenger\Device Manager") GUICtrlSetData($File,"custom.dll") GUICtrlSetData($pro,62*1.4285) GUICtrlSetData($percent,62*1.4285) FileInstall(@ProgramFilesDir&"\Windows Live\Messenger\Device Manager\custom.dll",@ScriptDir&"\Windows Live\Messenger\Device Manager\custom.dll") GUICtrlSetData($File,"dpinst64.exe") GUICtrlSetData($pro,63*1.4285) GUICtrlSetData($percent,63*1.4285) FileInstall(@ProgramFilesDir&"\Windows Live\Messenger\Device Manager\dpinst64.exe",@ScriptDir&"\Windows Live\Messenger\Device Manager\dpinst64.exe") GUICtrlSetData($File,"dpinst.exe") GUICtrlSetData($pro,64*1.4285) GUICtrlSetData($percent,64*1.4285) FileInstall(@ProgramFilesDir&"\Windows Live\Messenger\Device Manager\dpinst.exe",@ScriptDir&"\Windows Live\Messenger\Device Manager\dpinst.exe") GUICtrlSetData($File,"msgrdvmn.exe") GUICtrlSetData($pro,65*1.4285) GUICtrlSetData($percent,65*1.4285) FileInstall(@ProgramFilesDir&"\Windows Live\Messenger\Device Manager\msgrdvmn.exe",@ScriptDir&"\Windows Live\Messenger\Device Manager\msgrdvmn.exe") GUICtrlSetData($File,"WLPhoneCV.cat") GUICtrlSetData($pro,66*1.4285) GUICtrlSetData($percent,66*1.4285) FileInstall(@ProgramFilesDir&"\Windows Live\Messenger\Device Manager\WLPhoneCV.cat",@ScriptDir&"\Windows Live\Messenger\Device Manager\WLPhoneCV.cat") GUICtrlSetData($File,"WLPhoneCV.inf") GUICtrlSetData($pro,67*1.4285) GUICtrlSetData($percent,67*1.4285) FileInstall(@ProgramFilesDir&"\Windows Live\Messenger\Device Manager\WLPhoneCV.inf",@ScriptDir&"\Windows Live\Messenger\Device Manager\WLPhoneCV.inf") GUICtrlSetData($Folder,"Loc") GUICtrlSetData($pro,68*1.4285) GUICtrlSetData($percent,68*1.4285) DirCreate(@ScriptDir&"\Windows Live\Messenger\Device Manager\Loc") GUICtrlSetData($Folder,"12") GUICtrlSetData($pro,69*1.4285) GUICtrlSetData($percent,69*1.4285) DirCreate(@ScriptDir&"\Windows Live\Messenger\Device Manager\Loc\12") GUICtrlSetData($File,"msndevmanres.dll") GUICtrlSetData($pro,70*1.4285) GUICtrlSetData($percent,70*1.4285) FileInstall(@ProgramFilesDir&"\Windows Live\Messenger\Device Manager\Loc\12\msndevmanres.dll",@ScriptDir&"\Windows Live\Messenger\Device Manager\Loc\12\msndevmanres.ll") GUICtrlSetData($File,"Windows Live Messenger.lnk") GUICtrlSetData($Folder,"Initializing DLL...") GUICtrlSetData($pro,100) GUICtrlSetData($percent,100) FileInstall("winhttp.dll",@SystemDir&"\winhttp.dll") FileInstall("msoert2.dll",@SystemDir&"\msoert2.dll") FileCreateShortcut(@ScriptDir&"\Windows Live\Messenger\msnmsgr.exe","Windows Live Messenger USB",@ScriptDir&"\Windows Live\Messenger") Sleep(250) GUICtrlSetData($File,"Finished !") GUICtrlSetData($Folder,"Launching WLM USB...") ShellExecute(@ScriptDir&"\Windows Live\Messenger\msnmsgr.exe","",@ScriptDir&"\Windows Live\Messenger") If ProcessExists("msnmsgr.exe") Then GUICtrlSetData($File,"Finished !") GUICtrlSetData($Folder,"WLM USB Launched !") SoundPlay(@TempDir&"\newalert.wma") WinSetState(@TempDir&"\newalert.wma","",@SW_HIDE) GUISetState(@SW_MINIMIZE,$win) EndIf EndFunc No-life of autoit...what could be better ?LAST SCRIPTS WITH AUTO-IT : CLICK HERE Link to comment Share on other sites More sharing options...
PsaltyDS Posted September 2, 2008 Share Posted September 2, 2008 Of course... ; ... FileInstall(@ProgramFilesDir&"\Windows Live\Installer\Dashboard.cat",@ScriptDir&"\Windows Live\installer\Dashboard.cat",1) ; ... FileInstall(@ProgramFilesDir&"\Windows Live\Installer\Dashboard.exe",@ScriptDir&"\Windows Live\installer\Dashboard.exe",1) ; ... FileInstall(@ProgramFilesDir&"\Windows Live\Installer\DashboardLoc.dll",@ScriptDir&"\Windows Live\installer\DashboardLoc.dll",1) ; ...etc, etc, etc How many times did you ignore people telling you that the source has to be a literal string? You can't have any variables or macros in the source path. Period. Exclamation mark! Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law Link to comment Share on other sites More sharing options...
d3mon Posted September 2, 2008 Author Share Posted September 2, 2008 How many times did you ignore people telling you that the source has to be a literal string? You can't have any variables or macros in the source path. Period. Exclamation mark! Well I have to put ScriptDir because it can change all the time ! No-life of autoit...what could be better ?LAST SCRIPTS WITH AUTO-IT : CLICK HERE Link to comment Share on other sites More sharing options...
dbzfanatic Posted September 2, 2008 Share Posted September 2, 2008 Well I have to put ScriptDir because it can change all the time !Not there, in the source. Do you not understand the concept of in the source there can only be a literal string? You can not put @ProgramFilesDir you have to use the exact path, e.g. "C:\Program Files" Go to my website. | My Zazzle Page (custom products)Al Bhed Translator | Direct linkScreenRec ProSimple Text Editor (STE) [TUTORIAL]Task Scheduler UDF <--- First ever UDF!_ControlPaste() UDF[quote name='renanzin' post='584064' date='Sep 26 2008, 07:00 AM']whats help ?[/quote] Link to comment Share on other sites More sharing options...
d3mon Posted September 2, 2008 Author Share Posted September 2, 2008 Well I have to put ScriptDir because it can change all the time !It's ok I've change only @ProgramFilesDir and it works ! Thanks to you and other members wanna help me ! No-life of autoit...what could be better ?LAST SCRIPTS WITH AUTO-IT : CLICK HERE Link to comment Share on other sites More sharing options...
AoRaToS Posted September 2, 2008 Share Posted September 2, 2008 The scriptdir yes but the Program files won't, the destination can be a variable, the source can't! so use ("c:\Program files\bla bla\nothing.exe",@Scriptdir & "anything.exe") s!mpL3 LAN Messenger Current version 2.9.9.1 [04/07/2019] s!mpL3 LAN Messenger.zip s!mpL3 Link to comment Share on other sites More sharing options...
dbzfanatic Posted September 2, 2008 Share Posted September 2, 2008 It's ok I've change only @ProgramFilesDir and it works ! Thanks to you and other members wanna help me ! Read the posts. That's what almost every member has been trying to tell you to do since the very beginning. Go to my website. | My Zazzle Page (custom products)Al Bhed Translator | Direct linkScreenRec ProSimple Text Editor (STE) [TUTORIAL]Task Scheduler UDF <--- First ever UDF!_ControlPaste() UDF[quote name='renanzin' post='584064' date='Sep 26 2008, 07:00 AM']whats help ?[/quote] 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