How do I change the default path of the mapisvc.inf file?

Posted on 2007-11-22
Last Modified: 2008-02-09
I would like to know how would I change the default path of the mapisvc.inf file. This will help me in creating the application to fetch the emails using MAPI.
Question by:Kanchipuramdeena
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions

Assisted Solution

yuy2002 earned 20 total points
ID: 20338120

Author Comment

ID: 20338715
Actually that url explains structure and how to edit the contenct of the mapisvc.inf. I would like to know how to change the default path for the mapisvc.inf.

I would like to create my own mapisvc.inf and point this is as the reference for Exchange Server and Outlook. This is to not disturbing the original mapisvc.inf file by my application.

Any Suggestions?
LVL 86

Assisted Solution

jkr earned 260 total points
ID: 20339696
You cannot change the path of that file, it always is expected to reside at the same locatio. If you want to create MAPI profiles, take a look at the sample code at ("How to create MAPI profiles without installing Outlook")
Is Your AD Toolbox Looking More Like a Toybox?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

LVL 12

Accepted Solution

trinitrotoluene earned 200 total points
ID: 20339764
i would suggest that you take a look at the following articles: if you are trying to customize the inf file, ultimately there may not be a need to relocate it...

Also you cannot change the path of the file, there is no registry entry which you can modify....

Author Comment

ID: 20342279
Thanks for your feedback. Actually I would like to modify the content of the mapisvc.inf, where do I find the Mergeini.exe        It is not available in Windows Platform SDK 2003.

Assisted Solution

seeimred earned 20 total points
ID: 20344355
What i beleive you may need is the Office Resource Kit & it's toolbox. You don't indicate which version of Office but there is a Resource Kit for each version. Specific to Outlook 2003, you might find this information helpful.
Customizing Outlook Profiles by Using PRF Files Particularly this section:
Applying Outlook user profiles by using a PRF file
You can apply a PRF file in several ways to update Outlook 2003 profiles:

Import the PRF file in the Custom Installation Wizard or Custom Maintenance Wizard to specify profile settings in a transform, and then include the transform when you deploy or update Outlook.
Specify the PRF file as a command-line option for Outlook.exe to import a PRF file without prompting the user. For example:
outlook.exe /importprf \\server1\share\outlook.prf
Specify the PRF file as a command-line option for Outlook.exe but prompt the user before importing the PRF file. For example:
outlook.exe /promptimportprf \\localfolder\outlook.prf
If you put the specified PRF file on a network share, the settings might not be applied if the file is not found or is not available when Outlook runs.
Launch the PRF file directly on users' computers by having users double-click the file.
Configure the registry to trigger Outlook to import the PRF file when Outlook starts up. You can use the Add/Remove Registry Entries page in Custom Installation Wizard or the Custom Maintenance Wizard to deploy these registry key options to your users. You can also use the wizards to distribute the PRF file to users by using the Add/Remove Files page.
Delete the following registry key values:
In the HKEY_CURRENT_USER\Software\Microsoft\Office\11.0\Outlook\Setup subkey, set the value of ImportPRF to a string value that specifies the name and path of the PRF file. For example, set ImportPRF to \\server1\share\outlook.prf.

Author Comment

ID: 20365306
Thanks for all your helps. The last question, I am trying to load(mapi32.dll - a 32 bit dll) through a 64 bit application. I knew that 32 bit dll cannot be loaded by 64 bit app and in the same way 64-bit dll cannot be loaded by 32 app. Is there any workaround or any solution to overcome the above problem

That is i would like to know whether there is any way to load the mapi32.dll from a 64 bit application.

Thanks again
LVL 86

Assisted Solution

jkr earned 260 total points
ID: 20820732
In short: there is none. Eithr 64 bits or 32, but mixing that is a no-no.
LVL 86

Assisted Solution

jkr earned 260 total points
ID: 20820769



A question you participated in will be Closed in seven days:

  QUESTION: How do I change the default path of the mapisvc.inf file?
  ZONE: Exchange Email Server

The Asker has requested that this question be Closed, with some or all of the points awarded to participating Experts and one of the Asker's comments selected as the solution.


What gives?

Featured Post

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article explains how to install and use the NTBackup utility that comes with Windows Server.
In-place Upgrading Dirsync to Azure AD Connect
The goal of the video will be to teach the user the concept of local variables and scope. An example of a locally defined variable will be given as well as an explanation of what scope is in C++. The local variable and concept of scope will be relat…
The viewer will be introduced to the member functions push_back and pop_back of the vector class. The video will teach the difference between the two as well as how to use each one along with its functionality.

730 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question