Exclude wildcard doesn't work

Got a problem you cannot solve? Try here.
jasonyau
Posts: 8
Joined: Thu Jan 25, 2007 6:25 pm

Exclude wildcard doesn't work

Postby jasonyau » Fri Jan 26, 2007 3:54 pm

Source:
Core\\A.exe
Core\\B.exe
Core\\C.exe

Target:
Core\\A.exe
Core\\C.exe

I try to use Install Files' Exclude Wildcards option. So the script becomes

Install Files Core\\*.exe to $TARGETDIR$\\Core, ingore files matching wildcard pattern(s) B.exe

But the resulting installer still install B.exe for me. Any idea?

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

Postby MichaelNesmith » Sat Jan 27, 2007 4:04 pm

I think you actually need to use a wildcard - so try b.* for example.
Michael Nesmith
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/

jasonyau
Posts: 8
Joined: Thu Jan 25, 2007 6:25 pm

Postby jasonyau » Mon Jan 29, 2007 11:55 am

No, I tried B.*. It doesn't work. According to the description of Install Files' Exclude Wildcards in InstallAware's Help, I can put in a file name without wildcard:

*********
If you would like to exclude some of the files matching your source file pattern above, you may do so by specifying exclude wildcards. Exclude wildcards allow you to filter out some files at build time from inclusion in your setup. Leave this field empty if you do not wish to exclude any files. If you wish to exclude a particular file, folder, or a collection of files and/or folders, enter the name(s) of the items to exclude here. You may use wildcards. Seperate multiple items using semi-colons. Remember to enclose items that contain spaces in their names inside double quotes.
**********

jasonyau
Posts: 8
Joined: Thu Jan 25, 2007 6:25 pm

Postby jasonyau » Mon Jan 29, 2007 12:10 pm

I finally get it to work. I have to put this into the exclude wildcard field.

*\\B.exe

This is the MSI script:

Install Files Core\\*.exe to $TARGETDIR$\\Core, ingore files matching wildcard pattern(s) *\\B.exe

Is it a bug because it is nowhere near the description in Help?

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

Postby MichaelNesmith » Tue Jan 30, 2007 11:09 pm

I think the help is wrong about being able to use literals - it should be wildcards only.

But I was able to get wildcards to work without entering path information like you did. Maybe its a bug that surfaces in your particular configuration? Did you have any more details?

Which version of InstallAware?
Michael Nesmith

InstallAware

Home of The Next Generation MSI Installer

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

jasonyau
Posts: 8
Joined: Thu Jan 25, 2007 6:25 pm

Postby jasonyau » Wed Jan 31, 2007 3:58 pm

The version I used is Version 6.1 (Build cambridge_rtm.122006)

The MSI script is

Install Files #STAGEDIR#\\Core\\*.ini to $TARGETDIR$\\Core, ignore files matching wildcard pattern(s) *\\DC_dbg.ini

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

Postby MichaelNesmith » Wed Jan 31, 2007 4:55 pm

I think that build might have had issues with the wildcards. Let me know when you get a chance if it still doesn't work with the current shipping version.
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 81 guests