This project is read-only.
1

Closed

Nothing Happens, 64-bit Windows & 32-bit Office

description

Hello,
Software is great concept. Unfortunately nothing happens when run.

Have Win8 x64, Office 2010 (32 bit).

Downloaded x64 version of PDF Mail Merge (x32 version seems corrupt). Installed x32 version of Access Database Engine. Ran as System Administrator. Utilized the sample files from the source code TestDocument and TestTemplate. Followed directions in Help for the File Name Format.

Does anything setting need to be configured in Excel? In the registry? Thanks.
Closed Sep 6, 2013 at 4:57 PM by TigerC10
I've updated the downloads section to include a recreated setup installer. I've also included ZIP files of the binaries, for those of you that don't want to "install" PDF Mail Merge. If you don't have Microsoft Office installed, you'll need to install the Access Database Engine separately.

If you have a 32 bit copy of Office on your computer, then even if you have a 64 bit copy of Windows you should run the 32 bit version of this application. Kinda crummy, but that's a limitation of the .NET framework.

comments

TigerC10 wrote Aug 14, 2013 at 11:33 PM

Hi there! Glad to know someone is as excited for this application as I was.

The x86 installer is not corrupted, it has a dependency on a 32-bit copy of windows. Since your copy of Windows is 64 bit, that's why you cannot install it. I've been trying to figure out if there's a way to merge these two installers into a single installer, but I haven't really dedicated much time to the effort.

The installer should prompt you to install the Access Database Engine when you run it, you do not need to install it ahead of time. The Access Database Engine must match your operating system (x64 for a 64 bit copy of windows, x86 for a 32 bit copy of windows). The Access Database Engine does not have to match your copy of Microsoft Office. However, the Access Database Engine is only required for systems that do not already have Microsoft Office installed.

There is no additional registry setting to make for this application to run.

In my testing, I didn't have to run the application as a system administrator account. However, depending on your environment (if your sysadmin has done something unique to the environment) it may require additional privileges.

I did not test deploying this application to a 64 bit windows with a 32 bit copy of Microsoft Office, as you have indicated in your setup. I suspect this is the cause of the issue you're seeing. My theory is that when Microsoft Office is installed, the .NET framework calls I am making will opt to use those office libraries as opposed to the Access Database Engine libraries. There may be some awkwardness when going between architectures in .NET in this manner. If I had one complaint about .NET and VisualStudio it would be that it does try to do a little too much under the covers...

I also did not test this under Windows 8, however I wouldn't expect that to present an issue.

My recommendation is to upgrade to a 64-bit copy of office. It's been a couple of years since I last installed Office 2010, but as I recall the license keys work for both copies. It's merely a matter of getting your hands on the install media.

BBGOLFER wrote Aug 15, 2013 at 8:31 PM

I have the same issue, could not install 32 bit because it appears incomplete - size is around 400K where the x64 is about 98MB ?

I installed the x64 version, tried to use it nothing happens, attempted to manually install .net - says my version is good, attempted to manually install ms access component 64 bit, tells me it can't because my office is 32-bit, manually installed the 32bit version.

TigerC10 wrote Sep 6, 2013 at 3:13 AM

Alrighty, I was able to identify the issue here. For some reason, Visual Studio is not packing the installer MSI into the setup EXE for the 32 bit version. Not sure why, I made the setup projects at the same time.

I'll see if I can get Visual Studio to build it properly, but worst case scenario I think I can post the stand-alone executables. It won't ensure that you've got office or the access database engine, but you could at least run the applications if you do get those.

wrote Sep 6, 2013 at 4:57 PM