Picking up the subdirectory when not desired...

Got a problem you cannot solve? Try here.
mittelhauser
Posts: 11
Joined: Wed May 17, 2006 3:51 pm

Picking up the subdirectory when not desired...

Postby mittelhauser » Wed Jun 07, 2006 12:47 pm

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
Last edited by mittelhauser on Wed Jun 07, 2006 4:37 pm, edited 1 time in total.

mittelhauser
Posts: 11
Joined: Wed May 17, 2006 3:51 pm

Postby mittelhauser » Wed Jun 07, 2006 4:35 pm

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

MichaelNesmith
Posts: 3452
Joined: Thu Dec 22, 2005 7:17 pm
Contact:

Postby MichaelNesmith » Wed Jun 07, 2006 5:37 pm

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:
Michael Nesmith
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/

mittelhauser
Posts: 11
Joined: Wed May 17, 2006 3:51 pm

Postby mittelhauser » Wed Jun 07, 2006 5:52 pm

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

MichaelNesmith
Posts: 3452
Joined: Thu Dec 22, 2005 7:17 pm
Contact:

Postby MichaelNesmith » Wed Jun 07, 2006 6:04 pm

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!
Michael Nesmith

InstallAware

Home of The Next Generation MSI Installer

Get your free copy today - http://www.installaware.com/


Return to “Technical Support”

Who is online

Users browsing this forum: No registered users and 162 guests