Combines regular expressions as proposed by Ingo Bauersachs.

cusax-fix
Damian Minkov 13 years ago
parent 2c6d57dcc2
commit de67e1094f

@ -389,30 +389,14 @@
<entry key="changes_html" value="updates/index.html" />
</propertyfile>
<!-- removes spaces from application name if any -->
<!-- removes spaces,-,_ from application name if any -->
<propertyregex property="app.exe.filename"
input="${application.name}"
regexp=" "
regexp="[ -_]"
replace=""
override="true"
global="true"
defaultValue="${application.name}"/>
<!-- removes '-' from app.exe.filename if any -->
<propertyregex property="app.exe.filename"
input="${app.exe.filename}"
regexp="-"
replace=""
override="true"
global="true"
defaultValue="${app.exe.filename}"/>
<!-- removes '_' from app.exe.filename if any -->
<propertyregex property="app.exe.filename"
input="${app.exe.filename}"
regexp="-"
replace=""
override="true"
global="true"
defaultValue="${app.exe.filename}"/>
<!-- if wix.app.launcher.name is not set use app.exe.filename
If using wix.app.launcher.name make sure not to use spaces,-,_
in the name.

Loading…
Cancel
Save