MHz Posted November 29, 2005 Posted November 29, 2005 (edited) Hi muiz,In windows this works great,but when i use it from my dvd it doesnt do the second part when enter windows.Even when i do 90 instead of 60 minutes ( shutdown.exe -r -f -t 90 -c ) no goNew Daemon Tools 4.00 script posted. I have troubles trying to reproduce your problem, so it maybe your timed reboot causing the problem. The script should run at RunOnceEx (I assume where you are running it?). You then logon and DT4 will complain of a reboot needed. The script should handle it and reboot 10 seconds after that window (gives everyone time...). It should run DT4 during the next logon to Desktop after reboot.Remove your reboot command from your script and let the DT4 script handle it.Please do not post responses in the AutoIt thread as it is not a devoted DT4 thread.Alert me of any further problems.MHz.If anyone else is experiencing problems, then post here after using the latest script. Thanks.Debug Only Script:_Daemon_Tools_v4.00.htmlNormal Usage script:AutoIt thread Edited December 15, 2005 by MHz
muiz Posted November 29, 2005 Posted November 29, 2005 HeySorry man i didnt know , im no fan of autoit.But thx for your work in this one.It installs fine ( yes runonce )then for the first time in windows there is an icon of it on the desktop , but i cant click it , it says its no proper icon fileAfter i reboot the pc again myself , then all is fine , its installed no more icon ,and wizard new hardware.and again , sorry m8
MHz Posted November 30, 2005 Author Posted November 30, 2005 then for the first time in windows there is an icon of it on the desktop , but i cant click it , it says its no proper icon fileAfter i reboot the pc again myself , then all is fine , its installed no more icon ,and wizard new hardware.I notice the Desktop Icon sometimes remains. This is not a script issue as more of a Windows Desktop issue with refreshing. Reboot is not required as simply pressing F5 while on Desktop will make the Icon disappear. It is not a constant refresh problem to be concerned about. You may find a virtual machine install may not refresh ok ? Wizard, may look into handling it.
RogueSpear Posted November 30, 2005 Posted November 30, 2005 Not posting a problem, just wanted to say sweet work on this solution. I've learned more about AutoIt from you and your examples than I can really explain. Thanks again!
muiz Posted November 30, 2005 Posted November 30, 2005 (edited) but after reboot ..sometimes... no daemontoolsvery strange , depents on wich pc i installso.. problem for me Edited November 30, 2005 by muiz
MHz Posted November 30, 2005 Author Posted November 30, 2005 (edited) @muizWhat sets the results to be different between these PCs ?Are the window titles the same on these PCs ?Any information could be helpful.Edit:Have updated the posted script with some changes that may help.Since DT4 is sometimes not installing on the reboot for some PCs. I would like to know if the script is starting on reboot (you should see the icon in the systray), or the installation does finish but without result. The updated script will invoke DT4 to execute after reboot, if it does not show the 1st window in 30 seconds as long as the script runs on reboot ok.@RogueSpearThanks for the nice words. I'm glad you are learning through my scripts. It makes the effort spent more worthwhile. Edited November 30, 2005 by MHz
Shark007 Posted November 30, 2005 Posted November 30, 2005 Have updated the posted script with some changes that may help.Is there a possibilty to place a link in your 1ST post to your posted script?Soon, it will be buried amongst 50 other pages and difficult to find.By the way, when i 1st came across your script, i tested it, and it worked fine.shark
MHz Posted December 1, 2005 Author Posted December 1, 2005 Is there a possibilty to place a link in your 1ST post to your posted script?Soon, it will be buried amongst 50 other pages and difficult to find.By the way, when i 1st came across your script, i tested it, and it worked fine.It is still currently the last posted script in the Autoit thread and I do not want to prolong to revise the script for too much longer. The last posted script is the best to my current knowledge unless someone can prove otherwise. For proof of failure, I do need good information to pinpoint any issue with the script.I still have not tested DT4 from Cmdlines.txt yet, which is where I install software from, so that may reveal a revise of the script with an extra window added or something.
Shark007 Posted December 1, 2005 Posted December 1, 2005 When i posted that request, i thought i found the script in the nlite\addons section.That particular section is loaded with crap, and near 50pages.Sorry, for my confusion.yes, the autoit thread moves alot slower and is much cleaner.Thanks for sharing your work, it is appreciated.shark
MHz Posted December 5, 2005 Author Posted December 5, 2005 Still doesnt work for me , only in vmware Debug Script attached in 1st post.I cannot fix a script that is working. I need any information of failure to fix any issues that cause it.The Debug Script will log as such:16:54 16:54 Start: Install(2)16:55 Win: "Welcome to the DAEMON Tools"16:56 Win: "License Agreement"16:57 Win: This program will install SCSI16:58 Reg: "_DTools", "C:\_Daemon_Tools_v4.00.exe" /postrun16:58 Win: "Setup must restart Windows" = Cancel16:59 Dir: "C:\Program Files\DAEMON Tools" does not exist17:00 17:00 Start: Install(2)17:01 Win: "You must reboot after previous operation"17:01 Reg: "_DTools", "C:\_Daemon_Tools_v4.00.exe" /postrun17:21 Win: "You must reboot after previous operation" = Restart17:21 Dir: "C:\Program Files\DAEMON Tools" does not exist18:04 18:04 Start: Install(2)18:07 Win: "Welcome to the DAEMON Tools"18:08 Win: "License Agreement"18:09 Win: "Choose Components"18:10 Win: "Choose the folder"18:34 Win: "Completing the DAEMON Tools"18:34 Time: 29 seconds18:34 Clean: Remove shortcuts18:35 Clean: Delete spyware installer18:35 Dir: Size = 816498 | Files = 12 | Dirs = 4It will create the log on the user's Desktop.
muiz Posted December 6, 2005 Posted December 6, 2005 It keeps scrolling the directory....have to stop it manualyAnd after that spy sweeper says it had installed the spy ware
redfive19 Posted December 6, 2005 Posted December 6, 2005 @MHzI haven't rebooted yet but amazing work on this script. Looking at the code, it's very clean. I hope I can write code like that some day! Do you code in any other languages? (yes I consider autoit to be a programming language!)-redfive
MHz Posted December 7, 2005 Author Posted December 7, 2005 It keeps scrolling the directory....have to stop it manualyAnd after that spy sweeper says it had installed the spy wareIMHO, that external forces are at play, causing your installations to fail. This SpySweeper starts with Windows, correct? which maybe causing problems? You may also have an overactive AV program that is interfering ? Or something else in your OS that is causing issues with installations. I cannot see a fault from my postion of installing DT4. As for spyware installing, unless the installer adds something regardless, then no spyware is installed from the spyware installer that it adds to the program folder. If you manually install with the spyware checked then you will know that it has been added to your system. The spyware installer will popup after about 30 seconds and follow the steps of a normal installer. You will get a ugly searchbar popup on your taskbar shortly after. My script takes out the installer before anything can happen, but as you have mentioned SpySweeper, I am guessing that SpySweeper is stepping in when SetupDTSB.exe is seen and interupting the AutoIt script. What about the Daemons Tools directory, maybe SpySweeper removes the whole lot ?Sounds like a good theory ?Picture of spyware installer which I do not receive after scripted installation.I cannot fault the script so I do not know how to help you further on this.@MHzI haven't rebooted yet but amazing work on this script. Looking at the code, it's very clean. I hope I can write code like that some day! Do you code in any other languages? (yes I consider autoit to be a programming language!)-redfiveThanks. I am sure you can write good enough code after the amount of code that I have written. I like basic languages and sometimes do some Lua and have done some Visual Basic. Learning any language takes alot of willingness and devotion, but it can be done OK. Alot of that code was generated by my CMenu program FYI. No sense retyping the same stuff oner and over, right?
RogueSpear Posted December 7, 2005 Posted December 7, 2005 @muiz, maybe Mhz just found the problem you're having with my switchless silent installers as well. You may want to uninstall the antispyware and temp disable the antivirus and give these a shot.
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