• Announcements

    • xper

      MSFN Sponsorship and AdBlockers!   07/10/2016

      Dear members, MSFN is made available via subscriptions, donations and advertising revenue. The use of ad-blocking software hurts the site. Please disable ad-blocking software or set an exception for MSFN. Alternatively, become a site sponsor and ads will be disabled automatically and by subscribing you get other sponsor benefits.
ZoSTeR

Universal Silent Switch Finder 0.1

122 posts in this topic

This is a little program that can automatically determine which silent switches can be used with a setup file.

It uses PEiD which can be found here.

Put the PEiD.exe in same folder as USSF.exe

Start USSF.exe and select the setup exe file.

Hopefully it will tell you which switches to use :)

-17.02.05 small update since helper.bin download didn't work anymore-

USSF.exe

USSF.au3

USSF.exe

USSF.au3

0

Share this post


Link to post
Share on other sites

Nice work, ZoSTeR.

It took you much to accomplish, I think.

It should provide beginners with more handy help. No web search for switches anymore.

Inquiry: There's a small screen that flashes before the final screen appears. It looks like it has some information, which makes one curious. Could it be pinned, somewhat?

Thanks.

0

Share this post


Link to post
Share on other sites

The small flashing screen is just a "Please wait..." screen.

And yes the program is mainly intended for beginners cause the pros can tell the switches by just looking at the installer icon :)

0

Share this post


Link to post
Share on other sites

yes....yes we can :)

Then there are some where there just aren't switches....those are a pain.

0

Share this post


Link to post
Share on other sites

Go ahead.

It shows the most needed switches. You may account for more in future releases.

Well done.

0

Share this post


Link to post
Share on other sites

Simple & Well done :)

Why not adding a text box with the prog name (between quotes) followed by all the available switches; it will be easer to copy/paste in a batch installation file. E.g. for InnoSetup:

"prog" /SILENT /VERYSILENT ...
0

Share this post


Link to post
Share on other sites

Another suggestion for future enhancement is to integrate it to Explorer shell, so it executes from anywhere.

0

Share this post


Link to post
Share on other sites

is it a internal database? or does it check the .exe own swith??

0

Share this post


Link to post
Share on other sites
Inquiry: There's a small screen that flashes before the final screen appears. It looks like it has some information, which makes one curious. Could it be pinned, somewhat?

This spalsh screen is the screen from PEiD v0.92.

0

Share this post


Link to post
Share on other sites

burning snow

Thanks for the info. I should check that soon.

0

Share this post


Link to post
Share on other sites

Congrats burning snow. I was wondering who would see it first :)

(But the flashing screen is really a "Scanning..." please wait message)

USSF basically calls PEiD (Helper.bin) to identify the installer type and reports available switches accordingly. So no l33t programming skillz on my side.

Later today i will update USSF to support handling files via commandline. So you can call it from batch files or the context menu.

0

Share this post


Link to post
Share on other sites

OK :-)

It is a very simple technique which is used, and I hope I'll implement it in the Unattended Builder as soon as possible.

I think it will be out at the end of the month.

0

Share this post


Link to post
Share on other sites

I'm going to give this a try tonight, will be extremely helpful for me (already made a few Unattendeds but only using switches i've found here and there's a few [Tiny Personal Firewall to name one] i'd like to find out and will give this a go! :) ) , thank's ZoSTeR! :rolleyes:

0

Share this post


Link to post
Share on other sites

:rolleyes: Hi ZoSTeR,

Universal Silent Switch Finder is really handy. :) It's not always easy to find information on installers. Your program has been great.

Are you planning to further develop USSF?

Is there some place to download updated USSF.exe and Helper.bin files?

If anyone is interested and it is O.K. with ZoSTeR, I have created an InstallShield Universal Silent Switch Finder.msi.

:D Thanks ZoSTeR :D

0

Share this post


Link to post
Share on other sites

There is a new build of PEiD (rename the exe to Helper.bin). But no new installers are being identified as far as I know.

Selfextracting CABs could be added to the identification strings.

Anyway here's the AutoIt source (behold the sophisticated code :)) :

USSF.au3

0

Share this post


Link to post
Share on other sites

ZoSTeR

Have you integrated it to Explorer shell, yet?

0

Share this post


Link to post
Share on other sites

To add PEiD to your context menu for exe files use this:

[HKEY_CLASSES_ROOT\exefile\shell\Identify with PEiD\command]
@="\"C:\\Program Files\\PEiD\\PEiD.exe\" -hard \"%1\""

PEiD Command line Options

--------------------

peid -time // Show statistic before quitting

peid -r // Recurse through subdirectories

peid -nr // Dont scan subdirectories even if its set

peid -hard // Scan files in Hardcore Mode

peid -deep // Scan files in Deep Mode

peid -norm // Scan files in Normal Mode

peid -ext // Scan files with external signatures only

peid <file1> <file2> <dir1> <dir2>

You can combine one or more of the parameters.

For example.

peid -hard -time -r c:\windows\system32

peid -time -deep c:\windows\system32\*.dll

0

Share this post


Link to post
Share on other sites

it didnt even recognize a .msi :}

0

Share this post


Link to post
Share on other sites

May I ask why you would need to know what the switch's are when you already know its a MSI file?

0

Share this post


Link to post
Share on other sites
it didnt even recognize a .msi :}

If it's an msi, you don't have to use USSF because you already know the switches of an msi. :) If you need to know more switches that your msi supports, you should use an msi editor and browse/edit the properties in the property table. :)

0

Share this post


Link to post
Share on other sites
May I ask why you would need to know what the switch's are when you already know its a MSI file?

indeed. You already know that it's an MSI, why would you need a switch finder to tell you?

This program's purpose is for foreign installers or non-normal ones. MSI is definately not in that category.

0

Share this post


Link to post
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.