Re: Word VBA refernces to .tlb



can the deployment wizard of VS2005 be told to install the tlb in different
directories during the install?

My plan (at the moment) ivolves having a file with a particular name (that
is incremented for each version) that the login script of the AD looks for in
a particular directory on the attached computer. If the new filename doesnot
exist then the login script runs the installer. The installer can be set to
(thoufgght I haven't tried this part) run silently
The deployment wizard allows the change to the version# and product code of
the deployment to automatically uninstall the oldversion and reinstall the
new (this I have tested)


"Chip Orange" wrote:

I have the same issue with Word .dot add-in for projects. I place them in
the directory for global add-ins in the <user profile area>\application
data\microsoft\word\startup and Word always finds them, even if the project
references say they aren't correct. This allows me to run the project
reliably, just not makes changes to it, without going through the steps you
outlined.

hth,

Chip


"slaprade" <slaprade@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:050265D6-56B5-4FB1-B4B3-7FF81A194582@xxxxxxxxxxxxxxxx
I have a vs2007 project using created extensibility add-in for Word 2007.
As
such I must load my dotm file, switch to developer/visual basic (ALT F11),
selected references, locate the .tlb file and add it. This all works fine
as
does the .net code

The problem occurs (occasionally) as I make changes to the .net code.
Sometimes when I initiate the Word process, I will get a dialog box "could
not open macro storage".

When I start Word, load the .dotm file, ALT F11 to open VBA and check
references, I notice the .net project I am using is listed as missing. It
still has a check beside it. I uncheck to project, close references, open
references again, locate the project name (it is still in the available
refernces - just un checked), recheck the project, save and close the
.dotm,
I am once again able to use word as expected with the addin functioning
correctly

This does not happen every time I change the project code. I often
transfer
the solution and develop on other computers then transfer to solution back
to
the original development computer. This effort always requires the
dropping
of the project and then locate anc check it in VBA.

I expect this project to be in use for at least 5 years with many changes
to
the code. I have worked out a deployment scheme that will auto deploy and
install the project as users login. The requirment to reload the reference
in
VBA will be a problem.

Is there a registry change that I can record and push back during
deployment?

Where is the information aboout loaded refences in VBA for Word
maintained?

How can I inform Word (in an automated way) that the refernce to the .tlb
file is valid?




.



Relevant Pages

  • Re: Best practice for installing software with group policy?
    ... Making 1 GP for each program allows you to stage the install by ... I'm just wondering how you guys tackle software deployment with group policy ... never more than two or three packages per GPO. ...
    (microsoft.public.windows.group_policy)
  • RE: SMS Deployment of Office 2007: Silent w/o user interaction con
    ... night (much less a week or so to spread out the deployment). ... I get more and more discouraged everyday I use SMS. ... The only solution is to wake the computers or just have them on and install ... logs in,the packages is interrupted by the logon, or it forces a restart but ...
    (microsoft.public.sms.swdist)
  • Re: Re: Abort/Dump in ClickOnce app before my code runs
    ... You mean you *are* getting some kind of log file or message? ... If the ClickOnce deployment was failing, you would get a dialog box saying it failed, and why, and pointing to a tmp file with a log of the deployment. ... otherwise it will install it. ... I have values for P1 through P7 including the program name twice and the ...
    (microsoft.public.dotnet.languages.vb)
  • Re: Click Once publishing issue
    ... application folder on the webserver I found that one of the files was ... When you install the app locally it will install in a folder like ... Make sure this gets installed with your Smart Client ... Checked the references in my project and the all seem fine ...
    (microsoft.public.vsnet.general)
  • Re: Deploying Office 07 with Group Policy
    ... computer I tested it on took 30 minutes to install. ... the following script to the Computer Startup Script. ... REM Get ProductName from the Office product's core Setup.xml file. ... REM Set ConfigFile to the configuration file to be used for deployment REM ...
    (microsoft.public.office.setup)