c# - Make VDProj .MSI installer copy itself locally after successful install -


we have large c# application spanning many projects packaged .msi file running msbuild (or through visual studio 2010) on .vdproj file. installation works fine, , warns correctly if other required software not found on local machine.

however, if installation successful, installer copy particular folder in program files. example 'c:\program files\app\version\install_1.2.3.4.msi'.

does know of way of doing this?

you can msi path originaldatabase property. copy msi can use custom action scheduled after installfinalize standard action.

for example, can write simple exe receives [originaldatabase] parameter , performs copy operation.

installfinalize not shown in visual studio. can add custom action under install , edit msi orca change sequence after installfinalize in installexecutesequence table.

you can more control on custom actions using other setup authoring tools.


Comments

Popular posts from this blog

linux - Mailx and Gmail nss config dir -

c# - Is it possible to remove an existing registration from Autofac container builder? -

php - Mysql PK and FK char(36) vs int(10) -