MSFN Forum: AutoIt: Daemon Tools 4.00 - MSFN Forum

Jump to content



Unattended CD/DVD Guide Homepage · MSFN Forum Rules

Welcome to the Applications Installs forum. Make sure you read the forum rules before you start posting.

Links/Requests to warez and/or any illegal material (porn, cracks, serials, etc..) will not be tolerated. Discussion of circumventing WGA/activation/timebombs/keygens or any other illegal activity will also not be tolerated.

We try our best to keep this forum clean of illegal content. If you see any illegal activity use the "report" button you find in every post to report the specific post to the moderators. If you ignore any of the rules you will be banned without notice.

Read Forum Rules
  • 2 Pages +
  • 1
  • 2
  • You cannot start a new topic
  • You cannot reply to this topic

AutoIt: Daemon Tools 4.00 Discuss any problems here Rate Topic: *---- 1 Votes

#1 User is offline   MHz 

  • SendToA3X v1.7
  • PipPipPipPipPipPipPip
  • Group: Members
  • Posts: 1,634
  • Joined: 02-August 04

Posted 29 November 2005 - 08:17 AM

Hi muiz,

Quote

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 go


New 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:
Attached File  _Daemon_Tools_v4.00.html (63.62K)
Number of downloads: 254

Normal Usage script:
AutoIt thread

This post has been edited by MHz: 15 December 2005 - 01:45 AM



#2 User is offline   muiz 

  • SPECIAL
  • PipPipPipPipPipPip
  • Group: Banned
  • Posts: 1,055
  • Joined: 03-August 03
  • OS:none specified
  • Country: Country Flag

Posted 29 November 2005 - 08:36 AM

Hey

Sorry 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 file
After i reboot the pc again myself , then all is fine , its installed no more icon ,and wizard new hardware.


and again , sorry m8 :blushing:

#3 User is offline   MHz 

  • SendToA3X v1.7
  • PipPipPipPipPipPipPip
  • Group: Members
  • Posts: 1,634
  • Joined: 02-August 04

Posted 29 November 2005 - 08:23 PM

View Postmuiz, on Nov 30 2005, 12:36 AM, said:

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 file
After 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.

#4 User is offline   RogueSpear 

  • OS: SimplyMEPIS
  • Group: Supreme Sponsor
  • Posts: 1,529
  • Joined: 18-September 04

Posted 29 November 2005 - 10:23 PM

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!

#5 User is offline   muiz 

  • SPECIAL
  • PipPipPipPipPipPip
  • Group: Banned
  • Posts: 1,055
  • Joined: 03-August 03
  • OS:none specified
  • Country: Country Flag

Posted 29 November 2005 - 11:58 PM

but after reboot ..sometimes... no daemontools

very strange , depents on wich pc i install

so.. problem for me

This post has been edited by muiz: 29 November 2005 - 11:59 PM


#6 User is offline   MHz 

  • SendToA3X v1.7
  • PipPipPipPipPipPipPip
  • Group: Members
  • Posts: 1,634
  • Joined: 02-August 04

Posted 30 November 2005 - 12:13 AM

@muiz
What 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.

@RogueSpear
Thanks for the nice words. I'm glad you are learning through my scripts. It makes the effort spent more worthwhile.

This post has been edited by MHz: 30 November 2005 - 02:31 AM


#7 User is offline   Shark007 

  • Repackaging Specialist
  • PipPipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 3,154
  • Joined: 07-January 04

Posted 30 November 2005 - 05:03 AM

Quote

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

#8 User is offline   MHz 

  • SendToA3X v1.7
  • PipPipPipPipPipPipPip
  • Group: Members
  • Posts: 1,634
  • Joined: 02-August 04

Posted 30 November 2005 - 07:29 PM

View PostShark007, on Nov 30 2005, 09:03 PM, said:

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.

#9 User is offline   Shark007 

  • Repackaging Specialist
  • PipPipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 3,154
  • Joined: 07-January 04

Posted 30 November 2005 - 07:44 PM

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

#10 User is offline   muiz 

  • SPECIAL
  • PipPipPipPipPipPip
  • Group: Banned
  • Posts: 1,055
  • Joined: 03-August 03
  • OS:none specified
  • Country: Country Flag

Posted 03 December 2005 - 08:21 AM

Still doesnt work for me , only in vmware :no:

#11 User is offline   MHz 

  • SendToA3X v1.7
  • PipPipPipPipPipPipPip
  • Group: Members
  • Posts: 1,634
  • Joined: 02-August 04

Posted 05 December 2005 - 07:51 AM

View Postmuiz, on Dec 4 2005, 12:21 AM, said:

Still doesnt work for me , only in vmware :no:

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 SCSI
16:58	Reg:	"_DTools", "C:\_Daemon_Tools_v4.00.exe" /postrun
16:58	Win:	"Setup must restart Windows" = Cancel
16:59	Dir:	"C:\Program Files\DAEMON Tools" does not exist
17: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" /postrun
17:21	Win:	"You must reboot after previous operation" = Restart
17:21	Dir:	"C:\Program Files\DAEMON Tools" does not exist
18: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 seconds
18:34	Clean:	Remove shortcuts
18:35	Clean:	Delete spyware installer
18:35	Dir:	Size = 816498 | Files = 12 | Dirs = 4

It will create the log on the user's Desktop.

#12 User is offline   muiz 

  • SPECIAL
  • PipPipPipPipPipPip
  • Group: Banned
  • Posts: 1,055
  • Joined: 03-August 03
  • OS:none specified
  • Country: Country Flag

Posted 06 December 2005 - 03:44 AM

It keeps scrolling the directory....have to stop it manualy
And after that spy sweeper says it had installed the spy ware

#13 User is offline   redfive19 

  • Junior
  • Pip
  • Group: Members
  • Posts: 96
  • Joined: 17-August 04

Posted 06 December 2005 - 11:22 AM

@MHz

I 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

#14 User is offline   MHz 

  • SendToA3X v1.7
  • PipPipPipPipPipPipPip
  • Group: Members
  • Posts: 1,634
  • Joined: 02-August 04

Posted 07 December 2005 - 01:30 AM

View Postmuiz, on Dec 6 2005, 07:44 PM, said:

It keeps scrolling the directory....have to stop it manualy
And after that spy sweeper says it had installed the spy ware

IMHO, 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.


View Postredfive19, on Dec 7 2005, 03:22 AM, said:

@MHz

I 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

Thanks. 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? :yes:

#15 User is offline   RogueSpear 

  • OS: SimplyMEPIS
  • Group: Supreme Sponsor
  • Posts: 1,529
  • Joined: 18-September 04

Posted 07 December 2005 - 05:21 AM

@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.

#16 User is offline   muiz 

  • SPECIAL
  • PipPipPipPipPipPip
  • Group: Banned
  • Posts: 1,055
  • Joined: 03-August 03
  • OS:none specified
  • Country: Country Flag

Posted 13 December 2005 - 04:08 AM

View PostRogueSpear, on Dec 7 2005, 12:21 PM, said:

@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.

yours supossed to installed from svcpack , no spy or anti virus software running at that point

#17 User is offline   MHz 

  • SendToA3X v1.7
  • PipPipPipPipPipPipPip
  • Group: Members
  • Posts: 1,634
  • Joined: 02-August 04

Posted 13 December 2005 - 04:41 AM

@muiz
Updated the DT4 script which tests ok for me that the toolbar installer does not even appear on the HDD. Just one line added and one modded alittle. If interested, check the AutoIt thread to download.

#18 User is offline   muiz 

  • SPECIAL
  • PipPipPipPipPipPip
  • Group: Banned
  • Posts: 1,055
  • Joined: 03-August 03
  • OS:none specified
  • Country: Country Flag

Posted 13 December 2005 - 04:52 AM

View PostMHz, on Dec 13 2005, 11:41 AM, said:

@muiz
Updated the DT4 script which tests ok for me that the toolbar installer does not even appear on the HDD. Just one line added and one modded alittle. If interested, check the AutoIt thread to download.

thx MHz

#19 User is offline   muiz 

  • SPECIAL
  • PipPipPipPipPipPip
  • Group: Banned
  • Posts: 1,055
  • Joined: 03-August 03
  • OS:none specified
  • Country: Country Flag

Posted 14 December 2005 - 06:17 PM

Now it tries to reboot windows

Case WinExists('DAEMON Tools 4.00HE', 'You must reboot after previous operation')
			_Log('Win:' & @TAB & '"You must reboot after previous operation"')
			_RunOnce()
			ControlClick('DAEMON Tools 4.00HE', 'You must reboot after previous operation', 'Button1')
		  ; Desktop Reboot after 20 seconds.
			Sleep(15*1000)
			MsgBox(262144, 'DAEMON Tools 4.00HE', 'System restart commencing now', 5)
			_Log('Win:' & @TAB & '"You must reboot after previous operation" = Restart')
			Shutdown(2)
			Exit


reboot after 20 sec?

how can i disable this or make the time longer , cause "shutdown.exe -r -f -t 90" this is not ready yet.
and it leaves a file behind now on desktop "DT4_log.log"

Attached File(s)


This post has been edited by muiz: 14 December 2005 - 06:18 PM


#20 User is offline   MHz 

  • SendToA3X v1.7
  • PipPipPipPipPipPipPip
  • Group: Members
  • Posts: 1,634
  • Joined: 02-August 04

Posted 14 December 2005 - 11:33 PM

@muiz
I see you used the debug script. Only the script in the AutoIt thread has the latest change. I see from the log that the toolbar installer did get deleted from the HDD before it could do anything.

Quote

Recommended:
Allow the AutoIt Script handle the system reboot at Desktop logon for ease (default).
Above quoting myself from AutoIt thread. When installed at RunOnceEx, the script will do the reboot for you when the desktop is active so I do not know why you are using the systems Shutdown.exe to also do the reboot ?

If you want to increase the timeout then look at this line:

Quote

Sleep(15*1000)

This is a 15 second Sleep before continuing with the next line of code. You can increase or decrease the 15 to a number that is more suitable for you.

The other 5 seconds is used for the MsgBox(). This can be changed also if suitable.

Quote

MsgBox(262144, 'DAEMON Tools 4.00HE', 'System restart commencing now', 5)

To Exit without timeout and reboot, then add an Exit after the ControlClick() and before the Sleep(). The script will Exit immediately.

Quote

_Log('Win:' & @TAB & '"You must reboot after previous operation"')
_RunOnce()
ControlClick('DAEMON Tools 4.00HE', 'You must reboot after previous operation', 'Button1')
Exit
; Desktop Reboot after 20 seconds.
Sleep(15*1000)
MsgBox(262144, 'DAEMON Tools 4.00HE', 'System restart commencing now', 5)
_Log('Win:' & @TAB & '"You must reboot after previous operation" = Restart')
Shutdown(2)
Exit


If you choose to use the systems Shutdown.exe, then use the Exit example above.

Use the script from the AutoIt thread to install it normally without any log file and with the latest changes.


Edit: Updated Debug script in 1st post.

This post has been edited by MHz: 15 December 2005 - 01:44 AM


Share this topic:


  • 2 Pages +
  • 1
  • 2
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy