Garry Lowther
Posts: 54
Joined: 2009-02-22
|
I am trying to build a setup project for an Office Add-In on VS2010 on 64-bit Windows 7 and getting these errors:
Unable to find source file 'C:\Program Files\Add-in Express\Add-in Express for .NET\Redistributables\adxregistrator.exe' for file 'adxregistrator.exe', located in '[TARGETDIR]', the file may be absent or locked.
Unable to find source file 'C:\Program Files\Add-in Express\Add-in Express for .NET\Bin\Extensibility.dll' for assembly 'Extensibility.dll', located in '[TARGETDIR]'
How can I resolve this? |
|
Eugene Astafiev
Guest
|
Hi Garry,
It looks like a setup project was generated on the x86 machine and then was opened on the x64 Windows 7. Am I right? The difference between the x86 and x64 operating systems is the name of Program files folder used for Add-in Express files. There are two Program files folders on the x64 machime:
* Program files // is used on the x86 platform
* Program files (x86) // is used on the x64 platform
That is why you need to correct the path to the missed files in your setup project.
FYI Also as a workaround you can create a corresponding folder in the Program files folder with missed files (also known as a mirror;-). That way you don't need to modify the setup project. |
|