How to: Change the Installation Path of an Office Solution (2007 System)

Reference URL:
                                  http://msdn.microsoft.com/en-us/library/bb608626.aspx
Microsoft Visual Studio Tools for the Microsoft Office system (version 3.0)
How to: Change the Installation Path of an Office Solution (2007 System)

Updated: August 2008

Applies to

The information in this topic applies only to the specified Visual Studio Tools for Office projects and versions of Microsoft Office.

Project type

  • Document-level projects

  • Application-level projects

Microsoft Office version

  • 2007 Microsoft Office system

For more information, see Features Available by Application and Project Type.

The Publish Wizard and the Publish page of the Project Designer create a ClickOnce Setup program for your solution. During the publishing process, you can specify the final deployment location for the Setup program, where end users will go to install the solution. This location is called the installation path in the wizard and the Installation Folder URL on the Publish page. This path makes it possible for the application manifest to check for updates. For more information about publishing, see Publishing Office Solutions (2007 System).

You can add or change the installation path after you publish a solution. There are several reasons you might want to change the installation path:

  • The installation path was not known when the Setup program was compiled.

  • The solution files have been copied to a different location.

  • The server that has the installation files has a new name or location.

In these cases, anyone who has administrator permissions on the network can change the installation path of an Office solution.

Update the Setup program in both application-level and document-level solutions.

For document-level solutions, you must also update the path in the document properties.

To change the installation path in the Setup program

  1. Open the Command Prompt window.

  2. Navigate to the directory that contains the previously created Setup program. For more information about this step, see How to: Deploy an Office Solution by Using ClickOnce (2007 System).

  3. Run the Setup program and include the /url parameter, which takes the new installation path as a string. There will be a message that states that the signature of the executable will be invalidated. This means that the certificate used to sign the solution will no longer be valid, and the publisher will be unknown. End users will be shown an extra prompt that asks whether they want to install the solution.

    setup.exe /url="Installation path"
    

    For example:

    setup.exe /url="http://www.fabrikam.com/newlocation"
    
    Note:

    To view the current value of the URL, run setup.exe /url.

For documents and workbooks, open the document you want to deploy so you can update the _AssemblyLocation property.

Updating Document-Level Solutions with the New Path

You can update the _AssemblyLocation property from inside the Office application. However, if you created a Ribbon with the startFromScratch property set to true, you might not have access to the properties while the customization is running.

To update the path in the document properties

  1. Click the Microsoft Office Button, point to Prepare, and then click Properties.

  2. Click Document Properties, and then click Advanced Properties.

  3. On the Custom tab, in the Properties list, select _AssemblyLocation.

  4. In the Value box, there is a deployment manifest identifier already present. At the beginning of the identifier, type the fully qualified path of the document followed by a bar, in the format path|identifier.

    As an example, the path could look like this:

    //servername/foldername/filename|74744e4b-e4d6-41eb-84f7-ad20346fe2d9

    For more information about how to format this identifier, see Custom Document Properties Overview.

  5. Click OK, and then save and close the document.

  6. Run the Setup program without the /url parameter to install the solution in the specified location.

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
毕业设计,基于SpringBoot+Vue+MySQL开发的纺织品企业财务管理系统,源码+数据库+毕业论文+视频演示 在如今社会上,关于信息上面的处理,没有任何一个企业或者个人会忽视,如何让信息急速传递,并且归档储存查询,采用之前的纸张记录模式已经不符合当前使用要求了。所以,对纺织品企业财务信息管理的提升,也为了对纺织品企业财务信息进行更好的维护,纺织品企业财务管理系统的出现就变得水到渠成不可缺少。通过对纺织品企业财务管理系统的开发,不仅仅可以学以致用,让学到的知识变成成果出现,也强化了知识记忆,扩大了知识储备,是提升自我的一种很好的方法。通过具体的开发,对整个软件开发的过程熟练掌握,不论是前期的设计,还是后续的编码测试,都有了很深刻的认知。 纺织品企业财务管理系统通过MySQL数据库与Spring Boot框架进行开发,纺织品企业财务管理系统能够实现对财务人员,员工,收费信息,支出信息,薪资信息,留言信息,报销信息等信息的管理。 通过纺织品企业财务管理系统对相关信息的处理,让信息处理变的更加的系统,更加的规范,这是一个必然的结果。已经处理好的信息,不管是用来查找,还是分析,在效率上都会成倍的提高,让计算机变得更加符合生产需要,变成人们不可缺少的一种信息处理工具,实现了绿色办公,节省社会资源,为环境保护也做了力所能及的贡献。 关键字:纺织品企业财务管理系统,薪资信息,报销信息;SpringBoot
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值