Files in MSI with no destination

G

Glenn M

How to include a file (*.EXE utility in my case )in an MSI that isn't
set to be copied anywhere when the msi is run anywhere but can be
referenced in a custom action to run direct from the msi.

I want to run a utility but i dont want to copy it to the machine , in
a custom action i can run a file from the msi , which is then
extracted to a temporary location , executed , and removed GREAT!! .

But how do i put the file in the files table so that is it for
reference only and not to be copied anywhere

Any ideas?
 
P

Phil Wilson

Exactly how to do it depends what tool you're using to build the MSI file, but
yes, you can create a custom action based on an executable stored in the binary
table. Windows will just extract it automatically it and run it.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top