Archive: How to use instfiles?


How to use instfiles?
I couldn't find any resources regarding how to use instfiles in user's manual. Could any guru here explain it a little bit? I meant the syntax to use it and the meanings of each parameter. Also if I want to quit from instfiles page, how can I do that? It looks like there is a build-in page associated with instfiles page. If I don't want to show this page, how can I avoid it? Thanks for your help.


Instfiles isn't a command, it's a page. You can't "run" the instfiles page without showing the page. Aborting installation is difficult, but if you search the forums there's a lot of threads about it. If you want to install stuff without showing the instfiles page, I suppose you could do everything in the leave function of your own custom page... But there's probably a better way to create your own instfiles equivalent. No idea myself.


Originally posted by MSG
Instfiles isn't a command, it's a page. You can't "run" the instfiles page without showing the page. Aborting installation is difficult, but if you search the forums there's a lot of threads about it. If you want to install stuff without showing the instfiles page, I suppose you could do everything in the leave function of your own custom page... But there's probably a better way to create your own instfiles equivalent. No idea myself.
Basically my question is that how can I replace the exsiting instfiles page with my custom page? Thanks.

Please explain why the install page won't work for you. It does several things 'behind the scenes' that would be more work to do on your custom page: it executes the sections that are selected, it changes the Next button to Install on the page before InstallFiles, it blocks going Back when InstallFiles is complete.


Originally posted by demiller9
Please explain why the install page won't work for you. It does several things 'behind the scenes' that would be more work to do on your custom page: it executes the sections that are selected, it changes the Next button to Install on the page before InstallFiles, it blocks going Back when InstallFiles is complete.
It is not that install page won't work for me. It is because for some circumstance, I want to quit the installation, so the layout, text, etc from the original install page are not appropriate any more.