Sign in to follow this  
Followers 0
danzig69

how to regsvr32 with autoit?

5 posts in this topic

Hello, i'm new to this software. I'm trying register a dll. I can do it in a batch file but how in AutoIt :

regsvr32 "C:\Program Files\MainMedia\FLV Flash Video Source Filter\mainmedaflvsource.dll" /s

I try multiple thing but it didn't like the space between Program and files...

did someone know how?

Share this post


Link to post
Share on other sites



Maybe you could try

ShellExecute("regsvr32" "C:\Program Files\MainMedia\FLV Flash Video Source Filter\mainmedaflvsource.dll /s")

Good Luck!


[font="Comic Sans MS"]My code does not have bugs! It just develops random features.[/font]My Projects[list][*]Live Streaming (Not my project, but my edited version)[right]AutoIt Wrappers![/right][/list]Pure randomness[list][*]Small Minds.......................................................................................................[size="1"]Simple progress bar that changes direction at either sides.[/size][*]ChristmasIt AutoIt Christmas Theme..........................................................[size="1"]I WAS BOOOORED![/size][*]DriveToy..............................................................................................................[size="1"]Simple joke script. Trick your friends into thinking their computer drive is haywire![/size][/list]In Development[list][*]Your Background Task Organiser[*]AInstall Second Generation[/list]BEFORE POSTING ON THE FORUMS, TRY THIS:
%programfiles%/AutoIt3/autoit3.chm

Share this post


Link to post
Share on other sites

#3 ·  Posted (edited)

Welcolme to the Forum and Try

$_DllPath = @ProgramFilesDir & '\MainMedia\FLV Flash Video Source Filter\mainmedaflvsource.dll'
RunWait ( @Systemdir & '\regsvr32.exe "' & $_DllPath & '" /s' )
Edited by wakillon

AutoIt 3.3.14.2 X86 - SciTE 3.6.0WIN 8.1 X64 - Other Example Scripts

Share this post


Link to post
Share on other sites

shanet, I already try your suggestion but it's not working. Thanks for your help

wakillon: Thanks your suggestion solve my problem.

Share this post


Link to post
Share on other sites

shanet, I already try your suggestion but it's not working. Thanks for your help

wakillon: Thanks your suggestion solve my problem.

Sorry to hear that. Well at least you have got your solution :x

Take care

shanet


[font="Comic Sans MS"]My code does not have bugs! It just develops random features.[/font]My Projects[list][*]Live Streaming (Not my project, but my edited version)[right]AutoIt Wrappers![/right][/list]Pure randomness[list][*]Small Minds.......................................................................................................[size="1"]Simple progress bar that changes direction at either sides.[/size][*]ChristmasIt AutoIt Christmas Theme..........................................................[size="1"]I WAS BOOOORED![/size][*]DriveToy..............................................................................................................[size="1"]Simple joke script. Trick your friends into thinking their computer drive is haywire![/size][/list]In Development[list][*]Your Background Task Organiser[*]AInstall Second Generation[/list]BEFORE POSTING ON THE FORUMS, TRY THIS:
%programfiles%/AutoIt3/autoit3.chm

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
Sign in to follow this  
Followers 0