Jump to content

Not understanding "silent switches" for programs ...


Happy-Dude

Recommended Posts

Heya guys!!

So, I am not understanding silent switches at all.

From what I understand, silent switches are the same thing as like customizing an install by checking the boxes and stuff, right? (so the check boxes would be called switches?)

Even looking at this: http://www.msfn.org/board/Looking-for-a-ne...-8-t116212.html , I had not clue what they were talking about (which is probably due to me having no experience with the AVG installer).

So, can someone clarify this to me? Also, it would help if you can provide me with an example, such as using the CCleaner (standard build : http://www.ccleaner.com/download/builds) or Advanced WindowsCare Personal (http://www.iobit.com/advancedwindowscareper.html) --> both of which have toolbars in them.

I would like to be able to install the programs into nLite (or using WPI or XPlode) without the toolbars. I don't have a clue to do that. Also, how do I make these "customizations" into nLite (like into a single .cab file), or even put them into WPI so it does it for me?

Thanks for your responses in advanced :) !!

Link to comment
Share on other sites


Thanks for the response. I will definitely take a look at the tutorials and try to understand them.

Can anyone post an example on creating a Advanced WindowsCare Personal add-on so I can take a look on how everything is supposed to be? Thanks.

Here are the steps required to create the add-on:

1: Create a new folder and name it after your application, ie uTorrent1.3

2: Within the above folder, create another folder called SVCPACK

3: Place your switchless installer within the SVCPACK folder

4: Rename the ini file to match the name of you add-on, for example ENTRIES_UTORRENT.ini

5: Open the ini file and edit the appropriate details under the [general] section as required, eg:

[general]
builddate=2005/14/1
description=uTorrent
language=English
title=uTorrent is an efficient and feature rich BitTorrent client for Windows sporting a very small footprint
version=1.3
website=http://utorrent.com/

6: Navigate to the [AddProgram] section of the ini file and change the name to the exe file that is within the SVCPACK folder, eg utorrent.exe (keep it as simple as possible)

Your ENTRIES_PROGRAM.ini file will look something like this:

[general]
builddate=11/21/2005
description=product description here
language=English
title=Program Name
version=1.0
website=http://www.programwebsite.com/

[EditFile]
I386\SVCPACK.INF,SetupHotfixesToRun,AddProgram

[AddProgram]
PROGRAM.EXE

You should now have a setup that looks something like this:

foldersetup5cd.jpg

within the SVCPACK folder is ur PROGRAM.EXE switchless installer.

7: Ok, the next step is to create the .cab file. Using MakeCab or CabPack, a freeware utility available here (or any method you wish!) create the cab file of the SVCPACK folder and ENTRIES_PROGRAM.ini file. Rename this cab file to something appropriate eg uTorrent_1.3.cab.

THE NEXT STEP IS THE MOST IMPORTANT!

Before sharing your new add-on, please TEST IT! It is imperitive you test your add-on before posting to avoid problems.

--Question:

3: Place your switchless installer within the SVCPACK folder

4: Rename the ini file to match the name of you add-on, for example ENTRIES_UTORRENT.ini

5: Open the ini file and edit the appropriate details under the [general] section as required, eg:

-----> Where'd we get the .ini file from originally? Do we need to create one (if so, how)?

Also, the tutorial with WPI makes and example of CCleaner, but doesn't (or at least I don't think it does) include a switch to uncheck the toolbar.

Can someone please provide me with an example using Advanced WindowsCare Personal (has a toolbar that needs to be unchecked, so I would know how to adapt for other installers)?

Link to comment
Share on other sites

-----> Where'd we get the .ini file from originally? Do we need to create one (if so, how)?

Open Notepad, choose Save As, under "Save as type" choose "All Files", under "Encoding" choose "Unicode". Now for the "File Name" enter name you want with extension .ini. For example ENTRIES_UTORRENT.ini.

Cheers ;)

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...