Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm trying to build a custom QGIS installer for Windows with a stripped down GUI. I customized the GUI using the customization function of QGis and saved it as a .ini file.

The question now is: How can I include this custom GUI in my installer?

I found this very useful tutorial:

and in the comments it also says that it's possible to include it using the customization tool. However, it doesn't exactly say how and where to save the customization file in the installer package.

Another possibility automatically load a custom GUI is explained here: Thought about exporting the registry key customization.reg and to include it somewhere in the installer, but where?

So that would mean I would have to export the Windows registry key customization.reg, save it somewhere in the installation package and write a batch file that imports this registry key after the installation is finish. Do you think that would be possible?

So that's what I have found out so far. Does anybody have an idea what the easiest way would be to do this?

Thanks! :)

share|improve this question
I haven't tried this, but: and when you get to the packaging step, find the postinstall.bat script, and use that to set whatever options you need. – BradHards Oct 25 '13 at 3:26

So QGIS uses the NSIS Installer System (aka Winamp Installer) that creates the final result. Without trying, IMHO you need to work like this:

I highly recommend to use a Virtual Machine to as I expect you will need some time till it works fine and you should not mess up your system :)

P.S: I'm not sure how this will influence the OS4win installer wrapper, as I expect you want to use it just on a few machines. (Maybe there is using the official installer and apply the .reg patch manually easier?)

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.