Just starting out? Need help? Post your questions and find answers here.
mz
User
Posts: 10 Joined: Wed Jun 27, 2007 4:40 pm
Post
by mz » Sat Sep 22, 2007 8:06 pm
I currently making install creator program and i need some help adding some features to it.
I need help on how to register ActiveX and install driver using .inf files.
Help will be greatly appreciated, thanks.
mz
User
Posts: 10 Joined: Wed Jun 27, 2007 4:40 pm
Post
by mz » Mon Sep 24, 2007 6:45 pm
Anyone?
Thorsten1867
Addict
Posts: 1372 Joined: Wed Aug 24, 2005 4:02 pm
Location: Germany
Post
by Thorsten1867 » Mon Sep 24, 2007 8:00 pm
Code: Select all
RunProgram(SystemDir$+"regsvr32.exe", "/S "+File$, GetPathPart(File$), #PB_Program_Wait)
tinman
PureBasic Expert
Posts: 1102 Joined: Sat Apr 26, 2003 4:56 pm
Location: Level 5 of Robot Hell
Contact:
Post
by tinman » Mon Sep 24, 2007 9:13 pm
Have you had a look at Microsoft's Driver Install Frameworks (
http://www.microsoft.com/whdc/driver/in ... tools.mspx ). It might make things easier for you, as the work of actually installing the drivers is done already.
If you paint your butt blue and glue the hole shut you just themed your ass but lost the functionality.
(WinXPhSP3 PB5.20b14)
mz
User
Posts: 10 Joined: Wed Jun 27, 2007 4:40 pm
Post
by mz » Tue Sep 25, 2007 1:00 pm
Thorsten1867 wrote: Code: Select all
RunProgram(SystemDir$+"regsvr32.exe", "/S "+File$, GetPathPart(File$), #PB_Program_Wait)
Will you tell me more info about what file extensions are able to be registered and on what OS's?
Thanks,
Thorsten1867
Addict
Posts: 1372 Joined: Wed Aug 24, 2005 4:02 pm
Location: Germany
Post
by Thorsten1867 » Tue Sep 25, 2007 4:02 pm
Windows only! (C:\WINDOWS\system32\regsvr32.exe)
It should work with 'dll' and 'exe', but I have no ActiveX file to test it.
mz
User
Posts: 10 Joined: Wed Jun 27, 2007 4:40 pm
Post
by mz » Tue Sep 25, 2007 5:25 pm
thanks for the info!