Yes. I think it is good to use IronPython in the Windows world :)
The main point in my idea is to use only scripting language for setup
developer.
I believe that using a compliled dll for a custom action is a bad smell.
We need to implement a wix extension (e.g. based on IronPython) to
support
My product wxs starts as this:
?xml version=1.0 encoding=UTF-8?
?define VERSION=0.3.0?
Wix xmlns=http://schemas.microsoft.com/wix/2006/wi;
Product Id=*
Name=!(wix.ProductName) !(wix.TheVersion)
Language=1033
Version=!(wix.TheVersion)
... using a compliled dll for a custom action is a bad smell
Why do you think so? Just wondering.
-- Yan
-Original Message-
From: Konstantin Vlasenko [mailto:konstantin.vlase...@gmail.com]
Sent: Thursday, July 16, 2009 9:15 AM
To: General discussion for Windows Installer XML toolset.
With the scripting approach you can make the customization, bug fixing on
the customer side.
You can use the ORCA and change the script on the fly.
You don't have the such ability with the compiled dlls approach. You have
to go back to your development environment, make changes and then you *
Hi all,
I am using WIX for installing a windows application created using GTK#. We
are using mono to run the application.
In the installer package we are shipping both GTK# and mono. The installer
is working perfectly when both mono and GTK# is not installed in the system.
The issue is when mono
Shoul be 4 digits as you use it for the VERISOn attribute in the Product
element.
WixVariable Id=TheVersion Value=0.3.0/ - incorrect
WixVariable Id=TheVersion Value=0.3.0.0/ - correct
2009/7/16 rh_maill...@mac.com
My product wxs starts as this:
?xml version=1.0 encoding=UTF-8?
?define
I don't believe that is correct. Visual studio setup projects use 3 digits for
the product version number and my #define only has 3 digits as the version
number but that works.
And regardless of that, I'd tried it with 4 digits and get the same error
message so it doesn't work with 3 or 4.
Problem solved. Thanks.
-Original Message-
From: Lian Jiang [mailto:lji...@microsoft.com]
Sent: Wednesday, July 15, 2009 4:14 PM
To: General discussion for Windows Installer XML toolset.
Subject: [WiX-users] how to localize Error messages
Hi,
I reused WIX dialogs in my project. To
Hi Konstantin,
I don't think you'll get rid of that stench by using IronPython. IIRC,
IronPython scripts are compiled into .NET assemblies. Thus, you can't change
them on the fly and within the MSI.
By the way, if you were to use Python scripts within an MSI, you would have
to install a Python
Please send me your wsx file. I'll try to build it.
2009/7/16 rh_maill...@mac.com
I don't believe that is correct. Visual studio setup projects use 3 digits
for the product version number and my #define only has 3 digits as the
version number but that works.
And regardless of that, I'd
I see. It looks like the some problem with the WixVariabl.
2009/7/16 rh_maill...@mac.com
I don't believe that is correct. Visual studio setup projects use 3 digits
for the product version number and my #define only has 3 digits as the
version number but that works.
And regardless of that,
Whad do you use for building your setups? I had defined the variable in the
CCnet build project. Then I put it to candle -dVersion=$(MyCCNetVersion). Or
candle -dVersion=1.2.3.
2009/7/16 Konstantin Vlasenko konstantin.vlase...@gmail.com
I see. It looks like the some problem with the WixVariabl.
You don't need to install Python.
You just need the Python24(or 25, 26).dll. Also you need the python
executable Python.exe, httpd.exe (Apache).
It works :) belive me :)
I am going to extract Python.exe and PythonX.dll from the bibary tavbe
during the installation. Then I'll able to execute the
I'm using Visual Studio integration. Passing a -d to candle is equivalent to
doing a ?define VERSION=0.3.0? isn't it? Using the pre-processor define
works for me.
Using a WixVariable is equivalent to passing -dVersion=0.3.0 to light as
variables are resolved at link time.
Cheers
Russell
This seems to have been reported already (just found the bug database):
http://sourceforge.net/tracker/index.php?func=detailaid=2803055group_id=105970atid=642717
On Thursday, 16 July, 2009, at 08:32AM, rh_maill...@mac.com wrote:
I'm using Visual Studio integration. Passing a -d to candle is
I believe, it's just too late to define product version at bind time.
-- Yan
-Original Message-
From: rh_maill...@mac.com [mailto:rh_maill...@mac.com]
Sent: Thursday, July 16, 2009 10:06 AM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] (no subject)
I don't think asking customer to open the MSI package in Orca and modify
some code smells better. :) You increase the risk of leaving the user
machine in the undefined state afterwards. It's much more preferable to
design the rollback properly and keep the log verbose.
As for me, it has more
Thanks. I think the error message/documentation should be updated if that is
the case and the error message just leads us to believe the format is invalid,
not that you can't use a variable for the version.
Hopefully this requirement can be relaxed in a future version as everything
else
I get it automaticaly :) Each new build increment it. Why it is to late?
2009/7/16 Yan Sklyarenko y...@sitecore.net
I believe, it's just too late to define product version at bind time.
-- Yan
-Original Message-
From: rh_maill...@mac.com [mailto:rh_maill...@mac.com]
Sent:
1. You make a change (not a customer) in the custome environment.
2. Add new test to your acceptance (regression) test suite.
3. Make a new build.
4. Bring it back to the customer if all tests a GREEN.
*It has more sense to spend more time testing your installation on different
environments
Hi,
I need to install my msi to a certain location. That location is read from
an env. variable. I am not quite sure how to do it.
Property Id=INSTALLLOCATION[%myPath]/Property
is not working. (When installing I get an error saying Could not find
network location [%myPath])
Any idea regarding
Hello Sandun,
You cannot initialize the property default value with another property value
or environment variable.
You may either use a SetProperty custom action or get the default value from
the registry using a RegistrySearch within that Property to get the
environment variable value from
Hi Libin,
Create a property and add a FileSearch to find out if Mono is installed
already. Then change the condition of the InstallMono action to run only
when that property is not set (ie. Mono was not found on the system).
You may want to do the same with the GTK action to avoid reinstallation
Using WiX extensions in Visual Studio
To use a WiX extension when building in Visual Studio with the WiX Visual
Studio package:
Right-click on the WiX project in the Visual Studio solution explorer and
select Add Reference...
In the Add WiX Library Reference dialog, click on the Browse tab and
Thanks for the reply. We do have redistribution rights. Unfortunately,
the supplied setup is more for a dev install and contains many more
components than we need and also loads of dev examples, without a way to
just install individual components. As this isn't practical for a
customer release we
In that case, can you do an administrative installation with msiexec /a
? That would extract the files from the installer. You could also check
the dlls into source control after extraction. Putting binaries in
source control might feel wrong but with 3rd -party products, theres no
source.
As a
Hi,
Actually our product is a add-in package of VS. And we just want to
register a file type. In other word, there is no exe or file can be used
to open file of that type. It actually works before even we don't put
actual FileId:). So do you think we should register that file type to
Hi all,
I create an installer using wix 2.0.5805.0 and want to write a registry value,
the code looks as follows:
Component Id=CID_DetectionRegKey
Guid={47BD4C22-286F-4B4B-96AF-87051F40EB9B} DiskId=1
Registry Id=RID_DetectionRegKey Root=HKLM
If the installer runs in 32-bit mode, the registry value is written in the
Software\WOW6432Node\Microsoft\... key. 32-bit applications will still find
it at the right place as Windows maps that.
Best regards,
Sebastian Brand
Instyler Setup - Creating WiX-based MSI installations, elegantly.
Dear Brand,
I changed the code like this:
Property for checking the registry:
Property Id=MONOINSTALLED
RegistrySearch Id=MonoSearch Key=SOFTWARE\Novell\Mono\2.0.1
Name=Install Root=HKLM Type=raw/RegistrySearch
/Property
CustomAction Id=checkMonoInstalled
You don't need the checkmonoinstalled property, remove those tags:
CustomAction Id=checkMonoInstalled .. and Custom
Action=checkMonoInstalled ...
Then change the condition by setting inner text of the sequence Custom ..
element to
Custom Action=InstallMono Before=InstallFinalize
Hi Konstantin,
yes, please send the setup - wxs files included, if possible. Please send
the file(s) directly to me; don't waste bandwidth by sending to the list.
Thanks,
Dirk
2009/7/16 Konstantin Vlasenko konstantin.vlase...@gmail.com
You don't need to install Python.
You just need the
Hi Wix-users,
I downloaded wix3.0.5217.0-sources.zip in order to learn how to use Wix.
For my first installer, I used some wxs from wix
sources\src\ext\UIExtension\wixlib. There is Common.wxs, which has
Fragment:
Fragment
Binary Id=WixUIWixca SourceFile=$(var.printeulaDll) /
/Fragment
I saw
Scripting CAs are generally considered more brittle than any other kind of
CA, so they are not as preferred, IMO.
However, that being said, I don't think that adding a Python script
interpreter would be a terrible burden. I wouldn't make it part of the
distribution, but you should be able to
It is as more brittle as less test you have :)
Of course this script should be automaticaly tested (by unit test or more
preferable by Acceptance test) as all other code :)
So I think it is not a point.
2009/7/16 Christopher Karper christopher.kar...@gmail.com
Scripting CAs are generally
Hi there,
I have a question:
I want to set the PFXPassword from the iis:Certificate-Tag. When I set it
with the help of a Property I see it in the property-table when I open the
msi with Orca. When I set the PFXPassword directly, I see it in the
Certificate-table.
So it's quite easy to get the
Below is the NAnt target to build the solution (how can I know which Visual
Studio is used to build the solution?). I replaced all dpca.dll, but it doesn't
work. This dpca.dll only works for Web Setup project, not Wix created?
target name=buildSFS description=Build SFS libraries
No, it's as brittle as the scripts failing to run due to an environmental
issue on the client computer. What is they have a broken version of the
Python interpreter installed? What if their security settings don't allow
it to run?
It's not a question of how well written the code is... Well,
If ALLUSERS is 1, I want to install to ProgramFilesFolder. If ALLUSERS is
blank, I want to install to LocalAppDataFolder.Any recommendations for how
to accomplish this?
Thanks
--
Enter the BlackBerry Developer Challenge
http://blogs.msdn.com/robmen/archive/2004/05/20/136530.aspx
-Original Message-
From: Christopher Karper [mailto:christopher.kar...@gmail.com]
Sent: 16 July 2009 15:05
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Python for the custom action
No,
I have mentioned previously what I am going to extract Python.exe and
PythonX.dll during the installation.
I am not going to use installed Python.
2009/7/16 Christopher Karper christopher.kar...@gmail.com
No, it's as brittle as the scripts failing to run due to an environmental
issue on the
Hi All
Anyone has some custom code to display the existing IIS website, so the
installer can choose which site the new web application will be installed to?
Need to solve this problem:
http://support.microsoft.com/default.aspx?scid=kb;en-us;821335
Thanks
Jirong Hu
Build Master
780-644-5488
Hi.
We have a number of sample files we install for the user to use in Word
Excel. So we want these files to be placed in the user's My Documents folder.
However, during the install many times the user installing is not the user
running the program.
What we have done is install the sample
Hi,
You are doing what I would recommend. In some cases it is not
actually possible to install into a users my documents folder as that
user may not even have a profile on the machine yet. Using the
application to configure itself on first run is best practice.
As for 2. I don't see how
We ran WiX v3.0 GA through a security auditing tool and it reported several
issues:
cabcutil.cpp:531 ( Buffer Overflow )
cabcutil.cpp:577 ( Buffer Overflow )
strutil.cpp:1174 ( Buffer Overflow )
strutil.cpp:337 ( Buffer Overflow )
xmlutil.cpp:650 ( Buffer Overflow: Off-by-One)
I've been
Hi All,
I have a problem here, I have made changes to my product.wxs file but
it was got replaced by the old source control version. Now my changes
for the last two days are lost. But I still have latest wixobj file
generated before WXS was replaced.
Now my question is, can I retrieve a WXS file
I would link the .wixobj into your final output, then use dark and see what you
get.
The formatting will be completely different, but depending on how extensive
your changes were, if you remember what you changed, you should be able to find
the things you added or modified, copy them back to
Can you please share your experience?
I also want to do exact same thing that you are talking about. I am not
sure, which way to go about.
Tom Crozier wrote:
All - I need to know the best way to handle installing a large number of
files. As part of the project I have 2 different
Thanks Mike,
Well, alot changed and also the changes were in different WXS files.
So, yes dark will help me but it will take extra time and effort.
So, if there is another smater option, i will love to hear that. Thanks.
Best Regards,
Gulfam Murad
On Thu, Jul 16, 2009 at 2:42 PM, Mike Carlson
Hi,
Sorry if this was asked before..
I want to specify a subdirectory name to install certain files at install time.
some path\customFolderName
I know I can set a Directory via Property, but in that case I have to specify
the full path. In this case, I only need to set that one folder name.
You can ensure that the files are present in the My Documents folder by
using the MsiProvideComponent() API from within your program (instead of
copying them yourself) which will cause MSI to add those files from the MSI
to that user's profile when they are discovered to be missing (by
repairing).
Heat with WiX 3.0 does a pretty good job of coordinating and building WiX
fragments.
Long before the updated WiX 3.0 Heat, I wrote a tool for my use, Paraffin that
takes care of generating WiX fragments.
Chris, do you mind me asking which tool you used to find this. I have
been asked to validate WiX for a large company and this is the sort of
thing that would look good in my report.
Neil
-Original Message-
From: Christopher Painter [mailto:chr...@deploymentengineering.com]
Sent: 16 July
My company used Fortify 360. I didn't actually do the work, I'm just reporting
the findings.
FYI- I've logged an issue in tracker on this subject: 2822600
http://sourceforge.net/tracker/?func=detailaid=2822600group_id=105970atid=642714
I'm not a C++ expert so I'm basically trying to find
This can be made to happen automatically if the files are keypath files, or the
keypath for the file's component is a HKCU entry - use of one of the MSI
advertised entries (shortcut, COM activation, file association) will cause
Windows to do that MsiProvideComponent on the user's behalf. I
Hi
This is my first Custom Action, and I copied the code from here:
http://n2.nabble.com/Re:-Creating-a-virtual-directory-under-a-web-site-(other-than-the-default)-(by-Mark-Jones)-td692909.html
When I try to run this GetSites.vbs from Windows command line, I got an error
say Object required on
Biggest problem is that the user profile data (files, registry) are not
removed for all except the removing user. It tends to break expectations of
clean removals.
-Original Message-
From: Wilson, Phil [mailto:phil.wil...@wonderware.com]
Sent: Thursday, July 16, 2009 3:00 PM
To: General
Deferred custom action. Please read carefully this artical
http://msdn.microsoft.com/en-us/library/aa370543(VS.85).aspx
And see my example.
CustomAction Id=ShowInstallDir.SetProperty
Property=ShowInstallDir Value=[INSTALLDIR] /
CustomAction Id=ShowInstallDir
Script=vbscript
Hi All,
I want to check disk space for 10 GB.
I have put following code:
Component Id=MyCustomComponent
Guid=A2DCFC09-0651-4E2C-04A4-B18F759F9F41
ReserveCost Directory=CABDIR RunLocal=102400
RunFromSource=0 Id=CABID /
/Component
and when i tries to build this
59 matches
Mail list logo