/build/static/layout/Breadcrumb_cap_w.png

Some pre install commands first

HI,

I create a standard repackage MSI with WIse. When i launch the install, if i want to perform some PRE install (move a folder, copy a file, set a CACLS on a specific foler) on the wks prior to the main installation, how would you suggest to achieve this?

And right after the main install, if i want to perform some POST install (again, move files, copy flag files, CACLS, etc..) How would you suggest to do this again?

Thanks for your suggestions.

Bob

0 Comments   [ + ] Show comments

Answers (4)

Posted by: anonymous_9363 15 years ago
Red Belt
0
You can do all of that activity within the MSI itself.
Posted by: princecraft 15 years ago
Orange Belt
0
To add on this, if i want to run something not supported by wise (personnal .exe file) is it possible to execute it at the beginning ? before the file copy ? but my "personnal .exe file" must be part of the msi. any thought?
Posted by: AngelD 15 years ago
Red Belt
0
ORIGINAL: princecraft

To add on this, if i want to run something not supported by wise (personnal .exe file) is it possible to execute it at the beginning ? before the file copy ? but my "personnal .exe file" must be part of the msi. any thought?

If you don't want to leave the file behind after the installation has finished I would use a "Custom Action Type 2" (This custom action calls an executable launched with a command line.) and sequence it just before the InstallFiles action.
Posted by: anonymous_9363 15 years ago
Red Belt
0
ORIGINAL: princecraft
To add on this, if i want to run something not supported by wise (personnal .exe file)
What does THAT mean, 'not supported by Wise'? Why would it care? A file is a file is a file...
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
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