Jump to content

How to run inf/cab add-ons in runonce


ionut_y

Recommended Posts

Hi !

I want to run this add-on in RunOnce,how can do this.Thanks for any suggestion.

http://www.wincert.net/forum/index.php?sho...amp;#entry46148

the inf file :

;=====================================================================
; SpywarBlaster AddOn originally by booogy taken over by ricktendo64 |
;=====================================================================
[general]
builddate=2009/04/10
description=Anti-spyware protection.
language=English
title=SpywareBlaster
version=4.2
website=http://www.javacoolsoftware.com/

[sysoc]
SpywareBlaster=ocgen.dll,OcEntry,SpyBlast.inf,HIDE,7

[dosnet_files]
d1,SpyBlast.cab
d1,SpyBlast.inf
d1,msstdfmt.dll
d1,msinet.ocx
d1,mscomctl.ocx

[txtsetup_files]
SpyBlast.cab = 1,,,,,,_x,,3,3
SpyBlast.inf = 1,,,,,,,20,0,0
msstdfmt.dll = 1,,,,,,,2,0,0
msinet.ocx = 1,,,,,,,2,0,0
mscomctl.ocx = 1,,,,,,,2,0,0

[i386_compress]
rvmtemp\extracted\SpyBlast.inf
rvmtemp\extracted\msstdfmt.dll
rvmtemp\extracted\msinet.ocx
rvmtemp\extracted\mscomctl.ocx

Link to comment
Share on other sites


You'll need to use the SpyBlast.inf that's included with the package to do the install. Here is the command:

rundll32 setupapi,InstallHinfSection DefaultInstall 128 .\SpyBlast.inf

You'll need to figure out how to code this so it get's in to the RunOnce registry area. It shouldn't be too hard.

Link to comment
Share on other sites

Thanks !

I've created a winrar SFX archive with the following lines to comment section

;The comment below contains SFX script commands

Path=\program files\spywareblaster
SavePath
setup=spyblast.inf
Silent=1
Overwrite=1

It works fine

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...