Archive: Custom install subfolder problem


Custom install subfolder problem
Hello, sorry if this is a really easy fix but I cannot seem to change the defualt install directory to add one subfolder before the Product name. ie.
This is the directory I want to use:

---I have set the var

"!define INSTALL_FOLDER "COMPANY NAME"

---Then set the install dir to be:

InstallDir "$PROGRAMFILES\${INSTALL_FOLDER}\${PRODUCT_NAME}"

All I want is to have the install directory to be the company name/product name. All I seem to beable to do is make it the product name. The company is planning to have various products and want to have one main folder for all of them.

Sorry again if this is a dumb question but I have been unable to figure it out but playing with the code.

Thanks

harleyrumble


There doesn't seem to be any problem with those two lines of code. Make sure the $INSTDIR you're seeing isn't coming from InstallDirRegKey. If you don't use it in your script, attach the entire script so the problem can be found.


Thank you, that was the case since I use a screensaver install tutorial first then tried to change the values.


Thank you for the fast help

harleyrumble