Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use of "alias" parameter causes "dirExclude" and "RegExExclude" to be ignored #12

Open
hhemmeter opened this issue Feb 18, 2013 · 4 comments

Comments

@hhemmeter
Copy link

Hello,

in my Wix/Paraffin Experiments I use the "alias" parameter because I work on different computers with different drive configuration. I encountered the problem that since I introduced the alias parameter all my settings with "dirExclude" are ignored. A workaround with "regexexclude" also failed.
The parameters are not even mentioned in the leading comments of every wxs file, so it seems it is a bug when interpreting the parameters.

regards,
HH

@JohnWintellect
Copy link
Member

Can you give me an example of the command line order that's failing? I'm having trouble duplicating the error you're reporting. I want to get this fixed. Thanks!

@hhemmeter
Copy link
Author

One of my failing commandlines was

paraffin BTplusRest.wxs ^
-dir ..\source\btplus\btplus ^
-groupname BTplusRest ^
-norootdirectory ^
-alias $(var.Quellpfad) ^
-verbose ^
-direxclude AVB_Steuerung ^
-direxclude bin ^
-direxclude BIN ^
-direxclude Datenbanken ^
-direxclude Dokument ^
-direxclude Dope ^
-direxclude Global ^
-direxclude Normrisk ^
-direxclude TBS

results in a wxs file containing the following lines

Autogenerated by Paraffin - Wintellect - John Robbins - john@wintellect.com
Manual changes to this file may cause incorrect behavior.
2
BTplusRest
..\source\btplus\btplus
$(var.Quellpfad)

false
true
1



So obviously the excludes are ignored.

Best regards,
HH

By the way, Paraffin is great stuff. For me it is a major breakthrough on my way to replace Installshield with WiX.

Sorry XML Code is garbled after pressing "comment".
But I can definitely see that the DirExclude Markup contains no entries.

regards,
HH

@JohnWintellect
Copy link
Member

Hi HH,

Thanks for the very kind comments about Paraffin and glad you have found it useful!

What version of Paraffin are you running? With 3.6.2.0, the version here on GitHub, I still can't duplicate the issue. I tossed your command line into a batch file and I'm getting the directory excludes. I'll keep playing with it, but if you're not running the latest version, could you try that? Also, I'm testing in the US English local. Are you running a different local?

@hhemmeter
Copy link
Author

Hello,
I'm running Paraffin 3.6.2.0, dated Dec 6, 2012.

My locale is de-DE, german version of Win7/64.

WiX development is done in Visual Studio 2010 and WiX 3.7.

regards,
HH

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants