Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 127495
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T05:29:08+00:00 2026-05-11T05:29:08+00:00

I want to install a driver for Ext2 partitions under Windows XP, the installation

  • 0

I want to install a driver for Ext2 partitions under Windows XP, the installation will be done with a self written Inno Setup script. Which API functions do I need to call for this? From what I googled so far I don’t seem to be needing an inf file, and therefore no call to SetupCopyOEMInf. But I don’t know what to do instead…

Please enlighten me!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-11T05:29:09+00:00Added an answer on May 11, 2026 at 5:29 am

    As you asked which API functions are required to install a driver here is some code I use to load a driver in C:

    bool LoadDriver( const char * cpDriverPath, const char * cpDriverName ) {     SC_HANDLE hSCService;     SC_HANDLE hSCManager;      hSCManager = OpenSCManager( NULL, NULL, SC_MANAGER_ALL_ACCESS );     if( hSCManager == NULL )         return false;      hSCService = CreateService( hSCManager, cpDriverName, cpDriverName,                                 SERVICE_ALL_ACCESS, SERVICE_KERNEL_DRIVER,                                 SERVICE_DEMAND_START, SERVICE_ERROR_NORMAL,                                 cpDriverPath, NULL, NULL, NULL, NULL, NULL );      if( hSCService == NULL && GetLastError() == ERROR_SERVICE_EXISTS )         hSCService = OpenService( hSCManager, cpDriverName, SERVICE_ALL_ACCESS );      if( hSCService == NULL )         return false;      if( !StartService( hSCService, 0, NULL ) )     {         if( GetLastError() != ERROR_SERVICE_ALREADY_RUNNING )             return false;     }      CloseServiceHandle( hSCManager );     CloseServiceHandle( hSCService );      return true; } 

    You probably want to use SERVICE_ BOOT_ START for a file system driver instead of SERVICE_ DEMAND_ START. If you cant write an Inno script to do the above you could always make a small EXE from the above and have Inno run that as a post installation.

    If you want to go down the INF route, check out this Microsoft article.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want Windows Update to automatically download and install updates on my Vista machine,
I want to install a gem on all my application servers, but gem install
I want to install a pastie in our local intranet. What are the alternatives
I have a tool that I want to install on my main development box
I have a .Net program that I want to install on a terminal server.
I have Python 2.6 and I want to install easy _ install module. The
I'm setting up a new development server and want to install the latest version
On install I want to optionally copy some .ini files from SOURCEDIR to TARGETDIR
I want to update/upgrade the standard Leopard install of Sqlite3 to >3.5 to use
Basically I want to have our installer also install the .NET framework and any

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.