/build/static/layout/Breadcrumb_cap_w.png

Systems Management Question


MSI binary table file copy after installfinalize CA ?

07/03/2014 2575 views

I have vendor supplied MSI. And added one abc.cfg file in MST. in vendor msi having CA which is running after installfinalize, and it overwrite the same abc.cfg file. I want to copy a file (which is there in MST binary table i.e cab file) to installation directory.

is there any possibilities copy file after installfinalize CA ?

Any possibilities, please assist ... 

0 Comments   [ + ] Show comments

Comments


All Answers

0
If you are using Windows Installer functions, then no - there is no way to copy this file after INSTALLFINALZE.
Do you know that the CA does, have you thought about disabling it?

There could be a better way to do this, but off the top of my head.
  1. Place the file down using normal windows installers functions, name the file abc.cfg.bak
  2. Use a CA after the vendor CA to rename the file from abc.cfg.bak to abc.cfg
Its pretty ugly, but hey might work.
Answered 07/03/2014 by: rileyz
Red Belt

0
If the CFG file is a standard text file then why not add a custom action to run after everything else which basically nukes the existing file then writes out the CFG file line by line using vbscript.
Answered 07/09/2014 by: EdT
Red Belt

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

Share

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ