-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Automated service install #6
Comments
You are right - there is no built-in help information at the moment. I will add such information in the next days.
The remaining values are created when the service is installed by |
Hi! Thank for your quick and in-depth answer. As I wasn't expecting such a quick one, and as I have few and old reminiscences of C/Pascal development back in the 90''s not allowing me to go through the source code, I tried to manually install the bundle and see what was done. But I was indeed able to identify the generated output: Which, when I understand and fix why the drive isn't being created, I could integrate in NTLite:
to have the ramdisk transparently integrated; more than glad to document the process in here. Speaking of which, I think there's a mistake in the instructions provided here: there's a "cd xxxx\file.exe" and we all know we can't cd into a file ;) thx again! |
I assume you're referring to this |
|
|
|
Okay, so it is confirmed that the RAM-disk works - i.e. you can copy files to it and then delete them. |
when I open RamdiskUI debugview populates with: Then I create (save&apply now) a 32GB ramdisk on T with the option to set temp variables and the debug gets populated with: The ramdisk gets up&running, light in UI goes green. Then I click on Install service and I get the "Service installed succesfully" message. If I try to start the service at this moment I get a popup with "The Arsenal RAM-disk service on Local Computer started then stopped. Some services stop automatically [...]". Which I guess is normal as I didn't restart. In the meanwhile 2 additional entries appeared in the debug: Going to restart my PC and write the rest ;) |
so, the service didn't start at reboot. If I open event viewer and click on details, I get "MMC has detected an error in a snap-in and will unload it". This doesn't happen if I click on Details for other events (warning/info). All of this having everything under C:\Arsenal Weird as this wasn't the case before. Going to restart again. Does it matter in order to install service if we save&apply now or save and apply after reboot? what about removing and reinstalling service? Tried on same HW, different OS system part (a complete one) and same issue except for the fact that event viewer works fine and the details say the command ran succesfully :) I think we need some more in depth tracing starting from that missing file... |
The difference between |
Can you uninstall the old service and install this one? It has more logging but not 100% coverage. And if possible, can you post screenshots from DbgView64 ? |
I guess the error about the file could come from having temp variables set to T:\ which at time of launch of ramdiskUI is non-existing which seems to be confirmed because if I run the UI while T exists I don't get the error. But after restarting now it works (RAMDISK is created and available)! :) |
To disprove this hypothesis - you can configure the RAM disk to not change the TEMP folder/variables. These variables are set only after the RAM-disk is successfully mounted and formatted with a filesystem. procedure TArsenalRamDisk.ServiceStart(Sender: TService; var Started: Boolean);
begin
OutputDebugString('RamDisk service was started');
LoadSettings;
if (config.size<>0) then
try
if CreateRamDisk(config,False) Then Started:=True;
except
On E:ERamDiskError do decodeException(E.ArsenalCode);
On E:Exception do OutputDebugString(PAnsiChar(E.Message));
End;
end; Can you also make sure that you are running |
"capture global": Wasn't checked by default :) I guess temp variables were permanently modified by Primo, will fresh reinstall the system (running various tests to get my "ultimate" image) and retry. Can you please confirm the following unattended procedure on a new system should work to have the service installed?
Thx! |
What is Primo? It is not advisable to point TEMP variables to a non-existent drive/folder. |
I'd like to integrated this solution in my NTlite image to install and configure a 16GB ramdisk at system install but I see no doc on how to do that. NTlite can install drivers (easy part), copy files, run commands/scripts, add registry entries.
So it's easy to add the driver but howto configure the service?
I tried both ramdiskui.exe /? and eamservice.exe /? and they produce no output :(
Thx!
The text was updated successfully, but these errors were encountered: