Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win


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

Posted on 2007-11-22
Medium Priority
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 80 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 1040 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 http://support.microsoft.com/kb/306962 ("How to create MAPI profiles without installing Outlook")
Fill in the form and get your FREE NFR key NOW!

Veeam® is happy to provide a FREE NFR server license to certified engineers, trainers, and bloggers.  It allows for the non‑production use of Veeam Agent for Microsoft Windows. This license is valid for five workstations and two servers.

LVL 12

Accepted Solution

trinitrotoluene earned 800 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 80 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  
http://office.microsoft.com/en-us/ork2003/HA011402581033.aspx 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 1040 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 1040 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

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Question has a verified solution.

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

This article lists the top 5 free OST to PST Converter Tools. These tools save a lot of time for users when they want to convert OST to PST after their exchange server is no longer available or some other critical issue with exchange server or impor…
Here in this article, you will get a step by step guidance on how to restore an Exchange database to a recovery database. Get a brief on Recovery Database and how it can be used to restore Exchange database in this section!
This video discusses moving either the default database or any database to a new volume.
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

610 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