Page 1 of 1

Picking up the subdirectory when not desired...

Posted: Wed Jun 07, 2006 12:47 pm
by mittelhauser
I am working on my second InstallAware release and trying to use the patch feature for people who downloaded the first release...

My installer creates a couple of subdirectories for XML files which the application uses. The main installer works fine and is set to copy (*.*) and not use subdirectories. The directories get setup with only the files I want.

However, I just tried my first patch and it copied *everything* including hidden subdirectories. Specifically the folder/.svn/*.* files which are use by Subversion (version control). Needless to say, I don't want my version control files being distributed with the patch...

Am I missing something or is this a (fatal for me) bug?

-Jon

Posted: Wed Jun 07, 2006 4:35 pm
by mittelhauser
Ok. It is actually happening in my main release also (not just the patch). I don't have the "include subdirectories" checkmark checked so why is it including them?

When I copy/past the line in the installer, it shows:

~InstallAware Clipboard Data~
~Install Files~
~{693437CF-6035-469F-9557-016C229C4F13}~
~C:\\svn\\Builds\\LatestRelease\\DynamicQueryFiles\\TableFormats\\*.*~
~TRUE~
~$PROGRAMFILES$\\PokerDaVinci\\CurrentVersion\\DynamicQueryFiles\\TableFormats~
~FALSE~
~FALSE~
~FALSE~
~FALSE~
~FALSE~
~FALSE~
~FALSE~
~FALSE~
~FALSE~

I am wondering what that TRUE in the second line is. When I double-click the line, none of the checkboxes are checked...

-Jon

Posted: Wed Jun 07, 2006 5:37 pm
by MichaelNesmith
This seems to be a bug in opening an older project. To cure it, just follow these steps:

1) Open the Install Files command. Check the check-box. Click OK.
2) Open the Install Files command again. Clear the check-box. Click OK.

That takes care of it for you! We widened parameters for the Install Files command to support exclusions a while back (5.2), while new projects won't experience this issue, apparently there was a compatibility oversight with older projects.

Sorry about that! :oops:

Posted: Wed Jun 07, 2006 5:52 pm
by mittelhauser
Thanks. That seems to have fixed it.

For the record, though, I have version 5.31 and that is the FIRST version of InstallAware that I have used. The project was only created about two months ago...

So you may still have a bug to track down. Are you defaulting the value to true and only changing it in an event when the checkmark is changed? In otehr words, are the default values for the variable and UI different?

Anyway, thanks for the quick work-around...

-Jon

Posted: Wed Jun 07, 2006 6:04 pm
by MichaelNesmith
I just tried creating a new Install Files command, and also adding a file visually with 6.0 - both emitted the correct type of command (as evidenced by the contents of the clipboard). Please post here if you see something wrong!