Ercle Posted December 2, 2010 Posted December 2, 2010 Hello all, I would like to create a silent installation of ImgBurn to several of my clients and would like to run an automated install script to do so without having any user interactions. Does the installation EXE come with command line parameters to select/remove certain features? Would like to remove the shortcut creation, add the SPTI feature, remove the ASK toolbar, etc. Thanks in advance.
LIGHTNING UK! Posted December 2, 2010 Posted December 2, 2010 It uses NSIS so the silent switch is '/S'. That's the only one there is though.
Ercle Posted December 2, 2010 Author Posted December 2, 2010 Could I export the HKCU registry keys after an installation and configuration and use it as a configuration file post installation?
LIGHTNING UK! Posted December 2, 2010 Posted December 2, 2010 You don't need it at all really. The program will use the default (internal) values if the reg entries aren't present. The installer doesn't make any that the program uses - with the exception of the one to do with checking for program updates.
Ercle Posted December 2, 2010 Author Posted December 2, 2010 If I run SetupImgBurn_2.5.2.0.exe /S, I will get the default settings within the EXE. This includes the shortcuts, no SPTI feature enabled, the ASK toolbar and stuff. I do not want that! Could I run a manual install, select the settings I want, configure options within ImgBurn then export the registry settings. (HKCU/Software/ImgBurn) I could then launch SetupImgBurn_2.5.2.0.exe /S for the users, import the registry file to implement the settings and manually remove the shortcuts?
LIGHTNING UK! Posted December 2, 2010 Posted December 2, 2010 Oh sorry, I figured you'd just copy the files over manully rather than using the installer and that's why you were talking about the registry stuff. The toolbar doesn't get installed without your express permission, so seeing as how a silent install can't ask you, it doesn't get installed. Do you actually need to be messing with the SPTI options included in the installer? They mess with OS settings and are nothing to do with ImgBurn. You should only need them on XP if the users don't have admin rights on their PC. On Vista / 7, they aren't needed at all.
ianymaty Posted December 2, 2010 Posted December 2, 2010 I use the exported registry as a preconfig too. I don't use it silent, just not need all the clicks and the after config. Don't know if the silent will overwrite all settings (LUK! please enlighten us!) but here is how I do it. Install normal and select what you want, make the settings and shortcuts all you need than export the .reg. You better import the .reg before the installation to preserve settings on the next installs and no need to manually remove anything. Not sure but if some settings will be added/modified in future releses probably will need a new .reg for that release to include those setting too.
LIGHTNING UK! Posted December 2, 2010 Posted December 2, 2010 If you use a reg file, make sure it only changes/sets the settings of things you specifically need it to. Let the program use the defaults for everything else - that way you'll have less issues in the future if I change something.
Ercle Posted December 2, 2010 Author Posted December 2, 2010 OK, I will try it and let you know exactly what I did! Thanks for all your help Lightning UK!
Ercle Posted December 3, 2010 Author Posted December 3, 2010 Hi again LIGHTNING UK! I tried installing the setup file with a simple /S for silent installation then merge the HKCU registry keys with no success. The options are all correctly set but the SPTI drivers do not get installed during the silent install since it is not part of the defaults. Is there a way to add a command line argument to add the SPTI driver at installation for example... SetupImgBurn_2.5.2.0.exe /S /ADDLOCAL=SPTI
LIGHTNING UK! Posted December 3, 2010 Posted December 3, 2010 SPTI isn't a driver, it's an interface built into Windows. What's the actual problem you're seeing on the client machines?
Ercle Posted December 3, 2010 Author Posted December 3, 2010 (edited) Once the installation is done (using admin rights) and the user launches the application (user rights), they receive the following messages in the Log window; I 09:21:11 ImgBurn Version 2.5.2.0 started! I 09:21:11 Microsoft Windows XP Professional (5.1, Build 2600 : Service Pack 3) I 09:21:11 Total Physical Memory: 1,048,048 KB - Available: 467,608 KB I 09:21:11 Initialising SPTI... I 09:21:11 Searching for SCSI / ATAPI devices... E 09:21:13 CreateFile Failed! - Device: '\\?\ide#cdromnecvmwar_vmware_ide_cdr10_______________1.00____#3031303030303030303030303030303030303130#{53f56308-b6bf-11d0-94f2-00a0c91efb8b}' (D:) E 09:21:13 Reason: Access is denied. W 09:21:13 Errors were encountered when trying to access a drive. W 09:21:13 This drive will not be visible in the program. E 09:21:13 You need Administrative privileges to use SPTI. Is the Denied access in the Registry or a location on the hard drive? Edited December 3, 2010 by Ercle
LIGHTNING UK! Posted December 3, 2010 Posted December 3, 2010 Right well you have a choice here... You can either mess with the OS settings that sometimes allow SPTI access to 'normal' users on XP (as I said in a previous post, it's not an issue with later OS's) or you can use something like BurnRights to give them permission on the device objects directly. The OS settings are best manipulated via group policy but it can be done via a simple registry change (which is what the installer does). Take a look here in the FAQ. http://forum.imgburn.com/index.php?showtopic=59&view=findpost&p=969
Ercle Posted December 3, 2010 Author Posted December 3, 2010 OK, let me try a few things now with this new info and get back to you!
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