Page 1 of 1

Newbie Compile Error

Posted: Wed Jan 16, 2008 4:58 pm
by Underdog
I have InstallAware 6 that came from CodeGear RAD Studio 2007. I built an install and cannot compile it. The error message is

Code: Select all

---------------------------
Compile Error
---------------------------
Variable not defined: SHORTCUTFILESALL
---------------------------
OK   
---------------------------
I cannot edit the MSI code because of my edition. I know nothing about scripting installs, but there is clearly something wrong with my database that I cannot get rid of. I have added and removed system folders from the Files tab, but the error persists.

Posted: Thu Jan 17, 2008 1:52 pm
by Alex_Ronquillo
It seems that you removed the SHORTCUTFILESALL folder from the Files section. Unfortunatelly, if you want to add it again, it receives a different name. What you can do is the following:

1.-Add the system folder Start Menu --> Programs Group with the common option checked.
2.- Save the project
3.- Open the .mia file with notepad.
4.- Search for ALLPROGRAMS
5.- Change it for SHORTCUTFILESALL
6.- Save the file

After that, try to compile your project again.

Done!

Posted: Thu Jan 17, 2008 4:03 pm
by Underdog
That did it! Magic! And easy! If I didn't get a reply by the end of next week I was going to build the project from scratch. Thanks for saving me the work. I still don't know what I did wrong, nor how the solution made it work, but I'm fine with that for now.