I have a project that builds correctly when i click on Web Deploy option. Builds and installs fine. When i add a reference to the previous build and click Build Patch it fails saying that 'Label statements cannot be nested inside loops/conditionals'.
I had this error previously and corrected it to allow the Web Deploy to build correctly so i do not know why it is popping up in the patch. The label it points to is not nested inside any loop or conditional (see screenshot).
Thanks for any help!
Cheers
File Attached:
script.JPG
Patch will not build - label statements cannot be nested
-
ParallaxiT
- Posts: 32
- Joined: Tue Mar 10, 2009 12:10 pm
-
MichaelNesmith
- Posts: 3452
- Joined: Thu Dec 22, 2005 7:17 pm
- Contact:
-
MichaelNesmith
- Posts: 3452
- Joined: Thu Dec 22, 2005 7:17 pm
- Contact:
-
ParallaxiT
- Posts: 32
- Joined: Tue Mar 10, 2009 12:10 pm
-
MichaelNesmith
- Posts: 3452
- Joined: Thu Dec 22, 2005 7:17 pm
- Contact:
Then, again, as I have posted before, you need to check your compiler variables, in order to ensure that your script is still consistent when the patch mode is in effect.
Michael Nesmith
Install[b]Aware[/b]
[i]Home of The Next Generation MSI Installer[/i]
Get your free copy today - http://www.installaware.com/
Install[b]Aware[/b]
[i]Home of The Next Generation MSI Installer[/i]
Get your free copy today - http://www.installaware.com/
Patch will not build - label statements cannot be nested
I am getting the same error when I try to create a patch. I have created patches before, but this is first time I created custom include scripts. It compiles without complaining, and I can do the installation, I just get the same error as he does : "LABEL statements cannot be nested inside loops/conditional". If I remove the offending label statements from the main msi file, then things like the maintenance if/then statement fails. I can not check the compiler variables, since I am running Installaware developer 8 and it reports that I need the studio version. I need to get this resolved soon, so if either of you have a solution, I would appreciate it. 

