Features for Installer

Just starting out? Need help? Post your questions and find answers here.
mz
User
User
Posts: 10
Joined: Wed Jun 27, 2007 4:40 pm

Features for Installer

Post by mz »

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
User
Posts: 10
Joined: Wed Jun 27, 2007 4:40 pm

Post by mz »

Anyone?
User avatar
Thorsten1867
Addict
Addict
Posts: 1372
Joined: Wed Aug 24, 2005 4:02 pm
Location: Germany

Post by Thorsten1867 »

Code: Select all

RunProgram(SystemDir$+"regsvr32.exe", "/S "+File$, GetPathPart(File$), #PB_Program_Wait)
Translated with http://www.DeepL.com/Translator

Download of PureBasic - Modules
Download of PureBasic - Programs

[Windows 11 x64] [PB V5.7x]
User avatar
tinman
PureBasic Expert
PureBasic Expert
Posts: 1102
Joined: Sat Apr 26, 2003 4:56 pm
Location: Level 5 of Robot Hell
Contact:

Post by tinman »

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
User
Posts: 10
Joined: Wed Jun 27, 2007 4:40 pm

Post by mz »

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, :)
User avatar
Thorsten1867
Addict
Addict
Posts: 1372
Joined: Wed Aug 24, 2005 4:02 pm
Location: Germany

Post by Thorsten1867 »

Windows only! (C:\WINDOWS\system32\regsvr32.exe)
It should work with 'dll' and 'exe', but I have no ActiveX file to test it.
Translated with http://www.DeepL.com/Translator

Download of PureBasic - Modules
Download of PureBasic - Programs

[Windows 11 x64] [PB V5.7x]
mz
User
User
Posts: 10
Joined: Wed Jun 27, 2007 4:40 pm

Post by mz »

thanks for the info!
Post Reply