Solved

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

Posted on 2007-11-22
9
1,685 Views
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.
0
Comment
Question by:Kanchipuramdeena
9 Comments
 
LVL 4

Assisted Solution

by:yuy2002
yuy2002 earned 20 total points
Comment Utility
0
 
LVL 1

Author Comment

by:Kanchipuramdeena
Comment Utility
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?
0
 
LVL 86

Assisted Solution

by:jkr
jkr earned 260 total points
Comment Utility
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")
0
 
LVL 12

Accepted Solution

by:
trinitrotoluene earned 200 total points
Comment Utility
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...

http://support.microsoft.com/kb/294470/en-us?spid=1773&sid=global

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

http://support.microsoft.com/kb/158826/
0
Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

 
LVL 1

Author Comment

by:Kanchipuramdeena
Comment Utility
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.
0
 
LVL 8

Assisted Solution

by:seeimred
seeimred earned 20 total points
Comment Utility
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:
HKEY_CURRENT_USER\Software\Microsoft\Office\11.0\Outlook\Setup\First-Run
HKEY_CURRENT_USER\Software\Microsoft\Office\11.0\Outlook\Setup\FirstRun
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.
0
 
LVL 1

Author Comment

by:Kanchipuramdeena
Comment Utility
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
0
 
LVL 86

Assisted Solution

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

Assisted Solution

by:jkr
jkr earned 260 total points
Comment Utility
???

Regarding

-------------------------------->8--------------------------

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.

-------------------------------->8--------------------------

What gives?
0

Featured Post

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

Follow this checklist to learn more about the 15 things you should never include in an email signature from personal quotes, animated gifs and out-of-date marketing content.
Following basic email etiquette rules will help you write a professional email and achieve a good, lasting impression with your contacts.
To show how to generate a certificate request in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.:  First we need to log into the Exchange Admin Center. Navigate to the Servers >> Certificates…
The viewer will be introduced to the technique of using vectors in C++. The video will cover how to define a vector, store values in the vector and retrieve data from the values stored in the vector.

762 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now