MSFN Forum: Alcohol 120% - 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
Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Alcohol 120% Automatically install virtual device Rate Topic: -----

#1 User is offline   wonsleinad 

  • Newbie
  • Group: Members
  • Posts: 39
  • Joined: 09-May 04

Posted 17 June 2004 - 10:19 AM

Anyone know of a way to have alcohol auto set up the virtual drive right after installation? Usually it does it on it's first load, but I would like the virtual drive to be there right after my runoncex restarts.

I suppose I could auto open the application, but if I did that, I would have to close it, and I don't know of anyway for it to auto close itself after it loads the virtual drive.


#2 User is offline   Sharky 

  • Group: Members
  • Posts: 8
  • Joined: 13-June 04

Posted 17 June 2004 - 03:01 PM

Could you auto load it and the use sleep.exe and taskkill ?

#3 User is offline   MCT 

  • MSFN Junkie
  • PipPipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 3,288
  • Joined: 19-May 04

Posted 17 June 2004 - 03:19 PM

what about recoding the changes with regsnap or using installrite?

regards

#4 User is offline   wonsleinad 

  • Newbie
  • Group: Members
  • Posts: 39
  • Joined: 09-May 04

Posted 18 June 2004 - 09:08 AM

Sharky, I downloaded sleep.exe from another post, and I have no idea what it is for or how to use it. Does it just run for a specified amount of time and then close? If that's the case, I have no idea when alcohol will finish installing the device--maybe a minute, perhaps two minutes. It just doesn't sound like a very reliable way to do things.

MCT, I just tried that, apparently there are certain registry entries that cannot be accessed through .reg files. I recieve an error (i attatched a screenshot)

#5 User is offline   jroc 

  • 18 Bravo
  • PipPip
  • Group: Members
  • Posts: 235
  • Joined: 17-August 03

Posted 18 June 2004 - 09:13 AM

seems like all the settings are stored in the registry for Alcohol....along with the registration...don't see why you couldnt copy the registration into a reg file..then have it install...then when you booted its all set up...I know ive used the reg file like that..when i needed to install Alcohol again..to save time.

#6 User is offline   wonsleinad 

  • Newbie
  • Group: Members
  • Posts: 39
  • Joined: 09-May 04

Posted 18 June 2004 - 10:24 AM

Well yes, all the alcohol settings are in the registry. But in order for alcohol to do anything with them, alcohol needs to be started.

Let's not get off topic, what I'm trying to do is just have alcohol auto set up the virtual drive immediately following installation.

#7 User is offline   ZoSTeR 

  • Member
  • PipPip
  • Group: Members
  • Posts: 227
  • Joined: 04-November 03

Posted 18 June 2004 - 12:18 PM

You could use DaemonScript which allows you to control Daemon Tools and Alcohol via scripts (they both use the same engine).

Get it here.

You could create a script e.g:

DeviceCount = 1
MountImage = "D:\MyTestImage.iso", Device=1

and run it with

DaemonScript.exe TestScript1.DaemonScript in your batch.

I don't know how it behaves when Alcohol hasn't been started once. You might want to try Daemon Tools because it doesn't come up with a full blown GUI when you start it.


PS I wouldn't import registry settings created by Alcohol concerning devices/services.

#8 User is offline   wonsleinad 

  • Newbie
  • Group: Members
  • Posts: 39
  • Joined: 09-May 04

Posted 18 June 2004 - 05:33 PM

Well ZoSTeR, everything was looking good for daemonscript, until I uninstalled Alcohol 120%, reinstalled it, and then tried again. Apparently if you haven't run Alcohol 120% at least once it returns the error "Alcohol 120% is not installed", even after rebooting.

#9 User is offline   mazin 

  • MSFN Addict
  • Group: Supreme Sponsor
  • Posts: 1,952
  • Joined: 12-January 04

Posted 18 June 2004 - 06:12 PM

wonsleinad

I'm not sure if you installed Daemon and Alcohol both on your PC. But if you did, you should have that problem.

#10 User is offline   MCT 

  • MSFN Junkie
  • PipPipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 3,288
  • Joined: 19-May 04

Posted 18 June 2004 - 09:14 PM

Quote

MCT, I just tried that, apparently there are certain registry entries that cannot be accessed through .reg files. I recieve an error (i attatched a screenshot)


at the top of your regfile did u add "Windows Registry Editor Version 5.00"

Then a blank line, then your reg files, then another blank line @ the bottom?

regards

#11 User is offline   wonsleinad 

  • Newbie
  • Group: Members
  • Posts: 39
  • Joined: 09-May 04

Posted 18 June 2004 - 09:50 PM

For anyone who cares, I figured it out. And I used daemonscript too--thanks zoster. It took a little registry investigation, thank heavens for RegShot, but here's the process (I did this on Alcohol 120% 1.9.2.1705, so if on some future release it doesn't work, don't blame me-- and if you can't get it to work on this release don't blame me either :)).

1) Install Alcohol without rebooting
2) Load the following entries into the registry:
;Register
[HKEY_CURRENT_USER\Software\Alcohol Soft\Alcohol 120%\Info]
"UserName"="Admin"
"SerialNo"="xxxxxxx"
[HKEY_USERS\.DEFAULT\Software\Alcohol Soft\Alcohol 120%\Info]
"UserName"="Admin"
"SerialNo"="xxxxxxx"

;Path to Alcohol
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\Alcohol.exe]
"Path"="C:\\Program Files\\Alcohol Soft\\Alcohol 120\\"

;Add "Mount" on Virtual Device's context menu
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Drive\shellex\ContextMenuHandlers\AlcoholShellEx]
@="{32020A01-506E-484D-A2A8-BE3CF17601C3}"


Note: Just to explain the registry code above a little better: The register part is what you need to use Alcohol--duh! If you don't include it, DaemonScript will create a drive but it won't work properly. I use CURRENT_USER and USERS\.DEFAULT, so the currently logged in user (me) and any account that gets created after, will be registered with Alcohol. Next the path to Alcohol is needed for DaemonScript to find Alcohol. If you don't include it, it will say Alcohol is not installed (the error I got in my previous post). The last key is so when you right click on the virtual drive in My Computer it will have the "mount" sub-menu. Obviously if you don't include it "mount" will not be on the menu.

3) Run the following command
DaemonScript.exe VD1.daemonscript


I attatched both DaemonScript.exe and the script (VD1.daemonscript) in a zip.

Now your Virtual Drive should be working properly under My Computer. Well I really didn't test it thoroughly, as in I didn't mount anything, I just made sure it was there. Hopefully it will all work in my upcoming unattended CD.

MCT, yes yes I have all that stuff. I've ran into this problem before when working with certificates. I think Windows blocks access to certain keys for security reasons. Which in this case includes keys for loading device drivers, messing with hardware, etc.

Share this topic:


Page 1 of 1
  • 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