MSFN Forum: Not understanding "silent switches" for programs ... - MSFN Forum

Jump to content



If you are having issues with Windows after removing components and have come to ask for help, please attach (not paste) your Last Session.ini file to your post to facilitate quicker assistance.
Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Not understanding "silent switches" for programs ... No matter how many examples I am reading ... Rate Topic: -----

#1 User is offline   Happy-Dude 

  • xpize & vize coordinator
  • Group: Developers
  • Posts: 266
  • Joined: 24-April 08

Posted 27 April 2008 - 10:31 AM

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....ownload/builds) or Advanced WindowsCare Personal (http://www.iobit.com...owscareper.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 :) !!


#2 User is offline   anonymous_user 

  • ͏͏͏
  • PipPipPipPipPip
  • Group: Banned
  • Posts: 963
  • Joined: 25-December 05
  • OS:none specified
  • Country: Country Flag

Posted 27 April 2008 - 11:36 AM

Look at this thread to learn howto make addons.

Also if you want CCleaner without the toolbar, make sure to use the slim build found here.

Also look in this thread for a brief tutorial on using WPI.

This post has been edited by anonymous_user: 27 April 2008 - 11:37 AM


#3 User is offline   Happy-Dude 

  • xpize & vize coordinator
  • Group: Developers
  • Posts: 266
  • Joined: 24-April 08

Posted 27 April 2008 - 01:13 PM

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.

View PostpiXelatedEmpire, on Dec 23 2005, 08:29 PM, said:

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:
Posted Image

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)?

#4 User is offline   mara- 

  • Office Integrator Developer
  • PipPipPipPipPipPip
  • Group: Members
  • Posts: 1,159
  • Joined: 19-February 07

Posted 27 April 2008 - 02:44 PM

View PostHappy-Dude, on Apr 27 2008, 09:13 PM, said:

-----> 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 ;)

#5 User is offline   anonymous_user 

  • ͏͏͏
  • PipPipPipPipPip
  • Group: Banned
  • Posts: 963
  • Joined: 25-December 05
  • OS:none specified
  • Country: Country Flag

Posted 27 April 2008 - 06:10 PM

I dont think CCleaner has a switch for the toolbar. Like I said, use the slim installer.

If Advanced WindowsCare Personal installs a toolbar, you may need an AutoIT script that unchecks the toolbar option. Ask in the Application Installs forum.

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