Re: [WiX-users] wix3: automatically pick setup language

2007-05-02 Thread Rennie Petersen
My beginner's tutorial shows how to do this, although for WiX 2.0.
(Don't know if the same techniques will work in WiX 3.0.)

http://www.merlinia.com/mdt/WiXTutorial.msl

See in particular the last section on this page:

http://www.merlinia.com/mdt/WiXTutorial3.msl

In part 5 (not on-line yet) I describe how to create an MST for each
extra language, so what you distribute is (for example) an English MSI
and one MST for each of German, French, etc.

Then you need an MSI launcher program that let's the user pick his/her
language. For English it launches the English MSI, for German it
launches the English MSI with the German MST, etc.

I intend to make my MSI launcher program available as freeware in a
couple of weeks, when I'm done with the MSI editor program I'm working
on.

Rennie
 

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of 
 Patrick Schmid
 Sent: 2. maj 2007 02:10
 To: wix-users@lists.sourceforge.net
 Subject: [WiX-users] wix3: automatically pick setup language
 
 I am trying to have my setup program pick the appropriate 
 language based on the user's computer: If the user has a 
 German Windows, I want my setup program to be German. In all 
 other cases, I want it to be in English.
 Can I do anything like this with wix3?
 If yes, how?
 
 Thanks,
 
 Patrick Schmid
 
 
 --
 ---
 This SF.net email is sponsored by DB2 Express Download DB2 
 Express C - the FREE version of DB2 express and take control 
 of your XML. No limits. Just data. Click to get it now.
 http://sourceforge.net/powerbar/db2/
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users
 

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] How revoke a security group on a file

2007-05-02 Thread NUNZIANTE GAITO (SA/ERI)
Hi all,
I'm Nunzio Gaito and I'm working on a tool named APGPACK that uses the Wix 
library to create the MSI.
I have a question about the Permission Element of the Wix Toolset;
How can I remove a user group from the  Security list of a file?
I've visited the page: 
http://wix.sourceforge.net/manual-wix2/wix_xsd_permission.htm , 
but I see that there is only the possibility to modify the Attributes of ACL.
Thank you in advance for your response and
best Regards,
Nunzio Gaito

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Download files for install

2007-05-02 Thread Rob Hamflett
This might be useful to you:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/msi/setup/a_url_based_windows_installer_installation_example.asp

Rob

Magus wrote:
 I want to make a package, that downloads the files from a specific location
 via the internet, is this possible and are their any examples/tutorials you
 might be able to lead me to.


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] SubinACL usage abroad

2007-05-02 Thread Tony Hoyle
Gareth at Serif wrote:
 Hi guys,
 
 I've been using SubinACL to ensure that some of our own registry keys have
 full control permissions for the Everyone user group instead of any
 inherited permissions that might cause issues - this is particularly vital
 on Vista where even administrators have limited access.

Full control is a bad idea (since any user could them come along and 
modify the permissions) - the maximum should be change, and you should 
limit it to the absolute minimum required to use the application, 
otherwise you open potential security issues.

I'd also normally use 'Authenticated Users' not 'Everyone' as an extra 
check, since 'Everyone' includes anonymous and guest users, who you 
don't want to be able to write to anything normally.

 The problem is that I've just discovered (using a German copy of XP) that
 Everyone doesn't always mean Everyone.  In this German example, the
 Everyone group is actually called Jeder and it is this user group that will

Use the SIDs instead.  As you've found names are localised.

Tony



-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] SubinACL usage abroad

2007-05-02 Thread Tony Hoyle
Gareth at Serif wrote:
 Hi Tony,
 
 Thanks for your quick response.  The reason we use 'Everyone' is merely on
 our registration details - we only want one user (whoever it is) on the
 system to have to register the application for all users to be registered...
 
 What are the SIDs and how are they used?

http://msdn2.microsoft.com/en-us/library/aa379649.aspx

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Failed to open XML file on Vista

2007-05-02 Thread Albert van Peppen
Hi,
 
I try to install a XML file through my WiX Installer.
 
On WinXP i have no problems.
On Windows Vista (Business Edition), client in a Win2003 AD network, i have 
some strange problems;
 
- Installing as a domain administrator gives no problems.
- Installing as a local administrator gives an error; installation fails. 
- Installing as a local or domain user with restricted rights gives an error; 
installation fails.
- Installing with elevated rights / run as gives an error; installation fails. 
(With the exception of Run As domain Administrator)
 
In all cases where the installation fails the following error appears:
'Failed to open XML file WInsad.xml, system error: -2147024786'
 
 
The logfile shows:
 
MSI (s) (18:E0) [12:50:19:270]: Running as a service.
MSI (s) (18:E0) [12:50:19:317]: Hello, I'm your 32bit Elevated custom action 
server.
MSI (s) (18!68) [12:50:19:364]: Creating MSIHANDLE (4645) of type 790531 for 
thread 4456
ExecXmlFile:  Error 0x8007006e: failed to load XML file: WInsad.xml
MSI (s) (18!68) [12:50:19:489]: Closing MSIHANDLE (4645) of type 790531 for 
thread 4456
MSI (s) (18!68) [12:50:19:536]: Creating MSIHANDLE (4646) of type 790531 for 
thread 4456
Fout 25531. Failed to open XML file WInsad.xml, system error: -2147024786
MSI (s) (18!68) [12:52:31:146]: Product: Drumis - Programma V2.90.2267.0 -- 
Fout 25531. Failed to open XML file WInsad.xml, system error: -2147024786
 
MSI (s) (18!68) [12:52:31:177]: Closing MSIHANDLE (4646) of type 790531 for 
thread 4456
MSI (s) (18:10) [12:52:31:208]: Closing MSIHANDLE (4644) of type 790536 for 
thread 3812
Actie beƫindigd 12:52:31: InstallExecute. Retourwaarde 3.

 
The following piece of code is what i use in WiX:
 
 !-- = WInsad.xml = License file = --
 DirectoryRef Id=INSTALLDIR
  Component Id=WInsad.dat Guid=--xxx-xxx-xxx
   File Id=File_WInsad.dat Name=WInsad.dat DiskId=1 
Source=$(var.MyApplicationSourcePath)\WInsad.dat Vital=yes /
  /Component
  Component Id=WInsad.xml Guid=--xxx-xxx-xxy
   File Id=File_WInsad.xml Name=WInsad.xml DiskId=1 
Source=$(var.DrumisApplicationSourcePath)\WInsad.xml Vital=yes /
   XmlFile Sequence=10 Id=Winsad.xml_License
File=[INSTALLDIR]WInsad.xml Action=createElement Name=License 
ElementPath=//WInsad /
   XmlFile Sequence=11 Id=Winsad.xml_LicenseType
File=[INSTALLDIR]WInsad.xml Action='setValue'  Name='type' Value='Demo' 
ElementPath='//WInsad/License' /
  /Component
 /DirectoryRef
 
 !-- Features --
 FeatureRef Id=MainFeature
  ComponentRef Id=WInsad.dat /
  ComponentRef Id=WInsad.xml /
 /FeatureRef

 
The initial WInsad.xml file is installed on the targetsystem before the error. 
It initially looks like:
 
?xml version=1.0 encoding=windows-1252?
WInsad
/WInsad
 
 
The WiX version used in Wix-2.0.5213.0 
 
Am i doing something wrong or is it something with Wix-2 / Vista?
The InstallerVersion in the Package is set to 200, the InstallerPrivileges is 
set to elevated.
 
Any help is welcome.
 
Regards,
 
Albert van Peppen
 
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] How do you have a component work only on an install?

2007-05-02 Thread Scott Sam
I think I might know what the problem is.  It is not working when we do
an upgrade.  And we do upgrades currently by forcing the minor upgrade.
We use this command to do it:
msiexec /i ClientInstall.msi REINSTALL=ALL REINSTALLMODE=vomus

Could this be forcing the reinstall of all components regardless of the
condition?  And if so is there any way around this?

-Original Message-
From: Scott Sam 
Sent: Tuesday, May 01, 2007 3:57 PM
To: Scott Sam; [EMAIL PROTECTED];
wix-users@lists.sourceforge.net
Subject: RE: [WiX-users] How do you have a component work only on an
install?

Upon further testing, that didn't work.  I guess I don't really
understand how these things work.  I've read the tutorial, and have done
a bunch of testing on my own, but I just don't get it.  So I tried
using:
 Condition![CDATA[(WinClient == 3)]]/Condition
And I've tried using:
 Condition![CDATA[NOT (WinClient == 3)]]/Condition
Somehow I get the same result (the component runs in both cases).  How
is that possible?
Now when I use: 
 Condition![CDATA[(!WinClient == 3)]]/Condition
And 
 Condition![CDATA[NOT (!WinClient == 3)]]/Condition
In one situation the component is installed, and the other it is not.
This makes no sense to me.  Can anyone explain to me how this works?

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Scott Sam
Sent: Friday, April 27, 2007 4:57 PM
To: [EMAIL PROTECTED]; wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] How do you have a component work only on an
install?

Thanks.
I had to change it to this:
NOT (amp;WinClient = 3) AND (!WinClient = 3)
To get it to not run during the upgrade, but it worked.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Friday, April 27, 2007 4:14 PM
To: Scott Sam; wix-users@lists.sourceforge.net
Subject: RE: [WiX-users] How do you have a component work only on an
install?

I have used a condition like this

(amp;Complete = 3) AND NOT (!Complete = 3)

Where Complete was the id of my main feature.


Check out http://www.tramontana.co.hu/wix/lesson5.php

It seems to work for me.  Maybe someone with more experience has a
better suggestion though.


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Scott Sam
Sent: Friday, April 27, 2007 4:02 PM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] How do you have a component work only on an
install?

I have a component that updates an XML file using the XmlFile element.
I only want this to be ran on a clean install, and not on an upgrade.
I'm using wix v3.  Here is what my component looks like:

DirectoryRef Id=INSTALLDIR
  Component Id=UpdateDataCollectionCfg
Guid=383D9716-7731-4357-B2A8-8DDB2AE86E09
CreateFolder /
util:XmlFile Id=DCUpdate1
ElementPath=/configuration/DataCollection/Vals/add Name=Value
File=[INSTALLDIR]DataCollectionService.exe.config Action=setValue
Value=data source=[DBSERVERNAME];initial
catalog=xwDataCollector;trusted_connection=true; /
util:XmlFile Id=DCUpdate2
ElementPath=/configuration/connectionStrings/add
File=[INSTALLDIR]DataCollectionService.exe.config Action=setValue
Value=data source=[DBSERVERNAME];initial
catalog=xwEDB;trusted_connection=true; Name=connectionString /
ConditionNot Installed/Condition
  /Component
/DirectoryRef

I thought that the condition element would achieve the desired results,
but that is not the case.  Anyone have any ideas on this?


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Can you pass parameters in quotes?

2007-05-02 Thread Thomas B

CustomAction Return=asyncWait ExeCommand=-u [USERNAME] -k [SERIAL] 
Id=CA_POSTLAUNCH FileKey=reg.exe /

if the username entered has a space inn it (which Names usually have) it
fails, it doesnt send -u Firstname Lastname. What fixes are there?
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] wixlib and extensions and msm's

2007-05-02 Thread koawmfot

thanks for your help bob...

On 5/2/07, Bob Arnson [EMAIL PROTECTED] wrote:


 Light is a smart linker; it links in only the sections that are
referenced. A section is a Product, Module, or Fragment (and probably
Patch and PatchCreation, just to be pedantic). You can break up your
authoring however you want, because a Wix element can have multiple Fragment
children. So just break up your control authoring into multiple Fragments
and only the authoring in each fragment will get linked in.


thanks... worked perfectly.  i wasn't aware that referencing a component in
a fragment pulled in the whole fragment.  took 2 seconds to fix and we are
golden.



 I wouldn't be at all surprised if WiX didn't explicitly support Win16 --
I mean, it is 2007, you know.g If you look in src\wix\Compiler.cs for
ParseTypeLibElement, you'll see that it mentions Win16 in a comment only to
ignore it in favor of win32/win64 based on the component attribute.


I realize it is 2007, the problem is that some third party developers are
stuck in 1995.




I don't think it exists, so feel free to enter a feature request. I'm not
sure how to make it fit together with the Win64 attribute, so it's not
necessarily straightforward.



maybe if i get another app to repackage that still is frozen in time, but
for now i'll let it pass.


 4. And finally, when compiling, the Class element InprocServer(32) values
are entered into the registry table with quotation marks (i.e.
C:\windows\system32\mscomctl.ocx) and when the control is manually
registered to verify the msi entries, the quotation marks are removed from
the entries.  Is this an incorrect design?


Which version of WiX are you using? I believe that was changed sometime
recently to not quote.



I am using v3.00.2813.  i believe that is the last release.

thanks again.

doug
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Can you pass parameters in quotes?

2007-05-02 Thread Michael Collins

Surround the command line argument with quot; to produce 
double quotes in the compiled MSI.  quot; is an XML standard and is replaced 
by the parser with double quotes.  For example:

-u quot;[USERNAME]quot; -k quot;[SERIAL]quot;

will show up as this in the MSI:

-u [USERNAME] -k [SERIAL]

Also, when I specify custom actions where I'm running a .exe program, I usually 
wrap the .exe filename with quot;'s just in case the path where the program is 
located or installed has spaces in it. 



From: Thomas B [EMAIL PROTECTED]
Sent: Wednesday, May 02, 2007 6:29 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Can you pass parameters in quotes? 

CustomAction Return=asyncWait ExeCommand=-u [USERNAME] -k [SERIAL]  
Id=CA_POSTLAUNCH FileKey=reg.exe /

if the username entered has a space inn it (which Names usually have) it fails, 
it doesnt send -u Firstname Lastname. What fixes are there? 


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] How revoke a security group on a file

2007-05-02 Thread NUNZIANTE GAITO (SA/ERI)

Hi,
any news?

Best Regards,
Nunzio
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of NUNZIANTE
GAITO (SA/ERI)
Sent: Wednesday, May 02, 2007 9:28 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] How revoke a security group on a file


Hi all,
I'm Nunzio Gaito and I'm working on a tool named APGPACK that uses the Wix 
library to create the MSI.
I have a question about the Permission Element of the Wix Toolset;
How can I remove a user group from the  Security list of a file?
I've visited the page: 
http://wix.sourceforge.net/manual-wix2/wix_xsd_permission.htm , 
but I see that there is only the possibility to modify the Attributes of ACL.
Thank you in advance for your response and
best Regards,
Nunzio Gaito

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] wixlib and extensions and msm's

2007-05-02 Thread Bob Arnson

koawmfot wrote:


Which version of WiX are you using? I believe that was changed
sometime recently to not quote.

 
I am using v3.00.2813.  i believe that is the last release.


Hmmm...Can you post the WiX authoring and the resulting Registry rows?

--
sig://boB
http://joyofsetup.com/

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] FindRelatedProducts not running correctly?

2007-05-02 Thread Bob Arnson
Anthony Wieser wrote:
 When removing, is it correct that only the InstallExecuteSequence runs, and 
 that no UI is shown?
   

Yes, for the product being upgraded.

 Finally, you point out some potential problems mixing Per User and Per 
 Machine installs.  As find related products won't find a product installed 
 cross context, is there any way to prevent/detect that this is what the 
 user is requesting?
   

Make sure all your products have the same ALLUSERS value set and don't 
try to let the user change it.

-- 
sig://boB
http://joyofsetup.com/



-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] How do you have a component work only on an install?

2007-05-02 Thread Bob Arnson
Scott Sam wrote:
 Could this be forcing the reinstall of all components regardless of the
 condition?  And if so is there any way around this?
   

A reinstall is for all components that are currently installed. If you 
need to change the condition during a minor upgrade, check out 
transitive components in the MSI SDK.

-- 
sig://boB
http://joyofsetup.com/



-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Changing property or control-property from Custom action/DLL

2007-05-02 Thread Bob Arnson
Thomas B wrote:
 I also thought I might just have 2 bitmaps overlapping then setting 1 
 to hidden and the other not but how can I set a controls hidden 
 property from a DLL? (An event could possibly be used aswell).

Take a look at the Condition element; it can nest under a Control 
element to show/hide and enable/disable.

-- 
sig://boB
http://joyofsetup.com/



-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] SQL Backup Script in WiX

2007-05-02 Thread Nikkoli

The solution to this problem was solved.  The answer was to remove the custom
actions for SQL stuff, and pass sca.wixlib into light with my project.



Nikkoli wrote:
 
 I wanted to add info to this.  I am using wix 2.0.4820.0.   I also tried
 having the script be:
 CREATE TABLE [AccountSubmission].[dbo].[MYNEWTABLE](
 [col1][int],
 [col2][int]
 )
 GO
 
 it also didn't seem to execute.
 
 
 Nikkoli wrote:
 
 I am pulling my hair out with this problem.  Hopefully someone can point
 out what I am doing wrong.  My goal is to have the installer run a script
 to backup all the databases on the server, install some programs, then
 run scripts to update the database (structure and layout).  There is data
 in these databases that cannot be lost so simply dropping the databse is
 not an option.  
 
 I can get the installer to correctly install the programs and alter their
 config files, and I think i can update the database afterwards, but I am
 surely stuck on the backup.  here is my sample code:
 
 --?xml version=1.0 encoding=utf-8 ?
 
   Wix xmlns=http://schemas.microsoft.com/wix/2003/01/wi;
 Product UpgradeCode=7aa0bcca-14f8-46c7-8e9d-6a9e523252c1
 Name=MyTestSQL Id=9b5cb943-e741-4fed-b284-6d2d69f578e1
 Version=1.1.0 Manufacturer=xxx Language=1033
 
   Package Id=c74f467e-5686-4202-8c54-7ebf83d59c21
 Manufacturer=xxx InstallerVersion=200 Platforms=Intel
 Languages=1033 Compressed=yes SummaryCodepage=1252 /
 
   SqlDatabase Id=MySqlDatabase Database=master Server=(Local)
 /
 
   Directory Id=TARGETDIR Name=SourceDir
 
 Component Id=MySqlComponent
 Guid=C50999A0-02FD-42d5-9F65-7375318DD328 DiskId=1
 
   SqlScript Id=CreateDatabaseScript
 BinaryKey=DatabaseScriptBin ExecuteOnInstall=yes
 SqlDb=MySqlDatabase /
 
 /Component
 
   /Directory
 
   Feature Id=DefaultFeature Level=1
 
 ComponentRef Id=MySqlComponent /
 
   /Feature
 
   Media Id=1 EmbedCab=yes Cabinet=setup1.cab /
 
 
   Binary Id=DatabaseScriptBin src=c:\sqlbak2.sql /
 
   CustomAction Id='ConfigureSql' BinaryKey='ScaSchedule'
 DllEntry='ConfigureSql' Execute='immediate'
 Return='check'/
 
   Binary Id='ScaSchedule' src='scasched.dll'/
 
 /Product
   /Wix --
 
 the script I am trying to run contains:
 
 BACKUP DATABASE AccountSubmission TO DISK =
 'c:\DBBACKUPS\AccountSubmission.dat.bak'
 GO
 
 repeated for each database.  When I run the installer, it never seems to
 execute the script.  Please help!!!
 
 
 
 

-- 
View this message in context: 
http://www.nabble.com/SQL-Backup-Script-in-WiX-tf3677232.html#a10287108
Sent from the wix-users mailing list archive at Nabble.com.


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] SubinACL usage abroad

2007-05-02 Thread Gareth at Serif

Thanks for that Tony.

I actually found it and just checked Nabble to post as such.

It works a treat as you'd expect.

-- 
View this message in context: 
http://www.nabble.com/SubinACL-usage-abroad-tf3679498.html#a10287110
Sent from the wix-users mailing list archive at Nabble.com.


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] wixlib and extensions and msm's

2007-05-02 Thread koawmfot

sure...
the file in this example is mscomctl.ocx (i figured if you wanted to
reproduce, it would be an easy file to get...)

this is the snippet of code:



File Id='mscomctl.ocx' Name='mscomctl.ocx' KeyPath='yes'
Source='.\windows\system32\mscomctl.ocx'
TypeLib Id='{831FDD16-0C5C-11D2-A9FC-F8754DA1}' Language='0'
Description='Microsoft Windows Common Controls 6.0 (SP6)' MajorVersion='2'
MinorVersion='0'
  Class Id='{1EFB6596-857C-11D1-B16A-00C0F0283628}'
Context='InprocServer32' Description='Microsoft TabStrip Control 6.0(SP6)' 
Control='yes' ThreadingModel='apartment' Programmable='yes' Version='
2.0'
   ProgId Id='MSComctlLib.TabStrip.2' Description='Microsoft TabStrip
Control 6.0 (SP6)'
ProgId Id='MSComctlLib.TabStrip' Description='Microsoft TabStrip
Control 6.0 (SP6)' /
   /ProgId
  /Class
 /TypeLib
/File
RegistryKey Root='HKCR'
Key='CLSID\{1EFB6596-857C-11D1-B16A-00C0F0283628}'
Action='createAndRemoveOnUninstall'
 RegistryKey Key='Implemented
Categories\{0DE86A52-2BAA-11CF-A229-00AA003D7352}'
Action='createAndRemoveOnUninstall' /
 RegistryKey Key='Implemented
Categories\{0DE86A53-2BAA-11CF-A229-00AA003D7352}'
Action='createAndRemoveOnUninstall' /
 RegistryKey Key='Implemented
Categories\{0DE86A57-2BAA-11CF-A229-00AA003D7352}'
Action='createAndRemoveOnUninstall' /
 RegistryKey Key='Implemented
Categories\{40FC6ED4-2438-11CF-A3DB-080036F12502}'
Action='createAndRemoveOnUninstall' /
 RegistryKey Key='Implemented
Categories\{40FC6ED5-2438-11CF-A3DB-080036F12502}'
Action='createAndRemoveOnUninstall' /
 RegistryKey Key='Implemented
Categories\{7DD95801-9882-11CF-9FA9-00AA006C42C4}'
Action='createAndRemoveOnUninstall' /
 RegistryKey Key='Implemented
Categories\{7DD95802-9882-11CF-9FA9-00AA006C42C4}'
Action='createAndRemoveOnUninstall' /
 RegistryValue Key='MiscStatus' Value='0' Type='string' /
 RegistryValue Key='MiscStatus\1' Value='131473' Type='string' /
 RegistryValue Key='ToolboxBitmap32' Value='[#mscomctl.ocx], 10'
Type='string' /
/RegistryKey



and that gives me this, taken from the reg table in ORCA.  i could attach a
file if it would be neater.  the bolded entry is the offending one.



reg672AD8E870DEF700CE6394D6D4494E9F 0 
CLSID\{1EFB6596-857C-11D1-B16A-00C0F0283628}  Microsoft
TabStrip Control 6.0 (SP6) mscomctl.ocx

reg63BA47860515F82290B29892DC71EBE4 0 
CLSID\{1EFB6596-857C-11D1-B16A-00C0F0283628} *
mscomctl.ocx

regCA4AF5D5AD8C376C3135CA50FE12360F 0 
CLSID\{1EFB6596-857C-11D1-B16A-00C0F0283628}\Control *
mscomctl.ocx
reg22123D88484DCCAEBA376FEF9314E720 0 
CLSID\{1EFB6596-857C-11D1-B16A-00C0F0283628}\Implemented
Categories\{0DE86A52-2BAA-11CF-A229-00AA003D7352} *  mscomctl.ocx
regEB22AA9FEF67CDC66816D17A723656C9 0 
CLSID\{1EFB6596-857C-11D1-B16A-00C0F0283628}\Implemented
Categories\{0DE86A53-2BAA-11CF-A229-00AA003D7352} *  mscomctl.ocx
regDB7692623C1DC342F645C144118C28CB 0 
CLSID\{1EFB6596-857C-11D1-B16A-00C0F0283628}\Implemented
Categories\{0DE86A57-2BAA-11CF-A229-00AA003D7352} *  mscomctl.ocx
regBF54EDAF52A18A9A09EA09E2FCF201CF 0 
CLSID\{1EFB6596-857C-11D1-B16A-00C0F0283628}\Implemented
Categories\{40FC6ED4-2438-11CF-A3DB-080036F12502} *  mscomctl.ocx
reg21B7FBE0E7F475E6251BDCC314797F4A 0 
CLSID\{1EFB6596-857C-11D1-B16A-00C0F0283628}\Implemented
Categories\{40FC6ED5-2438-11CF-A3DB-080036F12502} *  mscomctl.ocx
regF8613163B90EFB04BAD9EB99DCF26958 0 
CLSID\{1EFB6596-857C-11D1-B16A-00C0F0283628}\Implemented
Categories\{7DD95801-9882-11CF-9FA9-00AA006C42C4} *  mscomctl.ocx
reg6374E2D571345973FCE88D1A7B2DC965 0 
CLSID\{1EFB6596-857C-11D1-B16A-00C0F0283628}\Implemented
Categories\{7DD95802-9882-11CF-9FA9-00AA006C42C4} *  mscomctl.ocx
*
reg77CF7165CDE2952817A62A40AF0653F1 0 
CLSID\{1EFB6596-857C-11D1-B16A-00C0F0283628}\InprocServer32  [#mscomctl.ocx]
* mscomctl.ocx

reg2597306361F553E672A35E1E1A56B313 0 
CLSID\{1EFB6596-857C-11D1-B16A-00C0F0283628}\InprocServer32 ThreadingModel 
Apartment
mscomctl.ocx

reg4794687DB0E4AEA3250E5A282A1D5DA4 0 
CLSID\{1EFB6596-857C-11D1-B16A-00C0F0283628}\MiscStatus  0
mscomctl.ocx

reg32D96DA8BCCCEDC1754CB3E41EFB2DD6 0 
CLSID\{1EFB6596-857C-11D1-B16A-00C0F0283628}\MiscStatus\1  131473
mscomctl.ocx

reg0DEA68C23B00DEAE390850130EE3317F 0 
CLSID\{1EFB6596-857C-11D1-B16A-00C0F0283628}\ProgID
MSComctlLib.TabStrip.2 mscomctl.ocx

regB7A044A658FBFF95E84A2A490C67C0FF 0 
CLSID\{1EFB6596-857C-11D1-B16A-00C0F0283628}\Programmable *
mscomctl.ocx
regA817C34818CFECE2ED70CD2C331EF878 0 
CLSID\{1EFB6596-857C-11D1-B16A-00C0F0283628}\ToolboxBitmap32  [#mscomctl.ocx],
10 mscomctl.ocx

reg1C3085EAE655531BD64AFEDB8FBCCC63 0 
CLSID\{1EFB6596-857C-11D1-B16A-00C0F0283628}\TypeLib  
{831FDD16-0C5C-11D2-A9FC-F8754DA1}
mscomctl.ocx

regC08894CAE527D22152DFE4648455423C 0 
CLSID\{1EFB6596-857C-11D1-B16A-00C0F0283628}\Version
2.0 mscomctl.ocx

regA880A414284125A06201F7DBCBAAA4E4 0 
CLSID\{1EFB6596-857C-11D1-B16A-00C0F0283628}\VersionIndependentProgID
MSComctlLib.TabStrip mscomctl.ocx





On 5/2/07, Bob Arnson [EMAIL 

Re: [WiX-users] wix3: automatically pick setup language

2007-05-02 Thread Igor Maslov


When you use transforms (MST) approach make sure that your base package has
a neutral culture settings,
otherwise you will see some weird mixture of languages



pdschmid wrote:
 
 I am trying to have my setup program pick the appropriate language based
 on
 the user's computer: If the user has a German Windows, I want my setup
 program to be German. In all other cases, I want it to be in English.
 Can I do anything like this with wix3?
 If yes, how?
 
 Thanks,
 
 Patrick Schmid
 
 
 -
 This SF.net email is sponsored by DB2 Express
 Download DB2 Express C - the FREE version of DB2 express and take
 control of your XML. No limits. Just data. Click to get it now.
 http://sourceforge.net/powerbar/db2/
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users
 
 

-- 
View this message in context: 
http://www.nabble.com/wix3%3A-automatically-pick-setup-language-tf3678011.html#a10290586
Sent from the wix-users mailing list archive at Nabble.com.


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] MSI restart options not working as expected.

2007-05-02 Thread Sankaranarayanan
Hi,

I have built a simple MSI using WIX 2.0.3620.0 The standard MSI restart options 
aren't working as expected.

/promptrestart - Doesn't show up any prompt at the end of installation. (It is 
supposed to prompt the user whether the machine can be restarted now)

/forcerestart - Doesn't restart the machine but prompts the User whether the 
machine can be restarted now. (It is supposed to restart the machine without 
any prompts).

Please let me know if there are any known issues with restart options.

Note: I am trying the installations on Vista Ultimate machine.

Thanks,
Sankaranarayanan MG


  ___ 
Yahoo! Mail is the world's favourite email. Don't settle for less, sign up for
your free account today 
http://uk.rd.yahoo.com/evt=44106/*http://uk.docs.yahoo.com/mail/winter07.html 

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] WiX 3.0 Localization

2007-05-02 Thread Chris.Rowland
Due to my unfortunate need for 8.3 paths, I'm finding it necessary to
convert from 2.0 to 3.0.

 

One error I got in converting was:

error LGHT0010 : The WixLocalization/@Culture attribute was
not found; it is required.

 

I took a guess and changed 

WixLocalization to WixLocalization Culture=en-us

and that resolved the compilation error.

 

Long question short... is that correct?  I'm calling light with the
following arguments.

%WIX_HOME%\light -cultures:en-us -out Setup.msi ... -loc
./FUI/WixUI_en-us.wxl

 

 

I'm having an (unrelated?) issue and wanted to rule that out as the
source.

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] wix3: automatically pick setup language

2007-05-02 Thread Igor Maslov

No, English is not OK. 

Suppose you have English as base and, for example, French as transform.
Then, on some dialogs you will have part of the strings (buttons, window
titles in English, instead of French). It happens mostrly on error dialogs.

What worked for me:

1. Create neutral base - set language ID and codepage to 0 (LANG = 0). I
still use English strings to make it compile

Product  Language=!(loc.LANG) ...
UpgradeCode=$(var.ProductUpgradeCode)

Package Id=* ...  Languages=!(loc.LANG) /

2. Create separate packages for other languages (English included). Set
appropriate Language ID, codepage, culture strings

3. Take base from 1) and create transform for each language

Hope this helps





Rennie Petersen wrote:
 
 What exactly do you mean by neutral culture settings? Is English OK
 for the base MSI, that the non-English MST's are created against? That's
 what I've been doing and it seems to work OK.
 
 Rennie
 
 
 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of 
 Igor Maslov
 Sent: 2. maj 2007 19:16
 To: wix-users@lists.sourceforge.net
 Subject: Re: [WiX-users] wix3: automatically pick setup language
 
 
 
 When you use transforms (MST) approach make sure that your 
 base package has a neutral culture settings, otherwise you 
 will see some weird mixture of languages
 
 
 
 pdschmid wrote:
  
  I am trying to have my setup program pick the appropriate language 
  based on the user's computer: If the user has a German 
 Windows, I want 
  my setup program to be German. In all other cases, I want 
 it to be in 
  English.
  Can I do anything like this with wix3?
  If yes, how?
  
  Thanks,
  
  Patrick Schmid
  
  
  
 --
  --- This SF.net email is sponsored by DB2 Express Download 
 DB2 Express 
  C - the FREE version of DB2 express and take control of 
 your XML. No 
  limits. Just data. Click to get it now.
  http://sourceforge.net/powerbar/db2/
  ___
  WiX-users mailing list
  WiX-users@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wix-users
  
  
 
 --
 View this message in context: 
 http://www.nabble.com/wix3%3A-automatically-pick-setup-languag
 e-tf3678011.html#a10290586
 Sent from the wix-users mailing list archive at Nabble.com.
 
 
 --
 ---
 This SF.net email is sponsored by DB2 Express
 Download DB2 Express C - the FREE version of DB2 express and take
 control of your XML. No limits. Just data. Click to get it now.
 http://sourceforge.net/powerbar/db2/
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users
 
 
 -
 This SF.net email is sponsored by DB2 Express
 Download DB2 Express C - the FREE version of DB2 express and take
 control of your XML. No limits. Just data. Click to get it now.
 http://sourceforge.net/powerbar/db2/
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users
 
 

-- 
View this message in context: 
http://www.nabble.com/wix3%3A-automatically-pick-setup-language-tf3678011.html#a10291690
Sent from the wix-users mailing list archive at Nabble.com.


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] wixlib and extensions and msm's

2007-05-02 Thread Mike Dimmick
As always, if you didn't write the component you should only distribute it
in the way directed by the author of the component. In this case, for
mscomctl.ocx, you should use the mscomctl.msm from
http://www.microsoft.com/downloads/details.aspx?FamilyID=f9d19334-61ec-48cf-
bb4e-3aec65edd50b
http://www.microsoft.com/downloads/details.aspx?FamilyID=f9d19334-61ec-48cf
-bb4e-3aec65edd50bDisplayLang=en DisplayLang=en. Please note that there
are known bugs in these merge modules which can be found at
http://www.installsite.org/pages/en/bugs_msi.htm#wimsm (scroll down past the
myriad errors in the deprecated MSDE Merge Modules).

 

Using different component GUIDs for third-party libraries breaks component
rules. This can cause software to be removed prematurely or not to be
removed when it should be. For compatibility, Windows Installer does
increment the shared DLL reference count for files installed in certain
system folders, but you should not rely on this behaviour.

 

If I'm misunderstanding you, and this was just an example, not a file you're
actually installing, I apologize.

 

Not quoting the path would be correct as the string in InProcServer32 is
passed to LoadLibrary, which does not parse for arguments (it's expecting a
DLL - DLLs don't have arguments) and therefore isn't fooled by spaces in
paths.

 

-- 

Mike Dimmick

 

  _  

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of koawmfot
Sent: 02 May 2007 16:49
To: Bob Arnson
Cc: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] wixlib and extensions and msm's

 

sure...

the file in this example is mscomctl.ocx (i figured if you wanted to
reproduce, it would be an easy file to get...)

 

this is the snippet of code:

 

File Id='mscomctl.ocx' Name='mscomctl.ocx' KeyPath='yes'
Source='.\windows\system32\mscomctl.ocx'

TypeLib Id='{831FDD16-0C5C-11D2-A9FC-F8754DA1}' Language='0'
Description='Microsoft Windows Common Controls 6.0 (SP6)' MajorVersion='2'
MinorVersion='0'
  Class Id='{1EFB6596-857C-11D1-B16A-00C0F0283628}'
Context='InprocServer32' Description='Microsoft TabStrip Control 6.0 (SP6)'
Control='yes' ThreadingModel='apartment' Programmable='yes' Version='2.0'
   ProgId Id='MSComctlLib.TabStrip.2' Description='Microsoft TabStrip
Control 6.0 (SP6)'
ProgId Id='MSComctlLib.TabStrip' Description='Microsoft TabStrip
Control 6.0 (SP6)' /
   /ProgId
  /Class
 /TypeLib

/File

RegistryKey Root='HKCR' Key='CLSID\{1EFB6596-857C-11D1-B16A-00C0F0283628}'
Action='createAndRemoveOnUninstall'
 RegistryKey Key='Implemented
Categories\{0DE86A52-2BAA-11CF-A229-00AA003D7352}'
Action='createAndRemoveOnUninstall' / 
 RegistryKey Key='Implemented
Categories\{0DE86A53-2BAA-11CF-A229-00AA003D7352}'
Action='createAndRemoveOnUninstall' /
 RegistryKey Key='Implemented
Categories\{0DE86A57-2BAA-11CF-A229-00AA003D7352}'
Action='createAndRemoveOnUninstall' / 
 RegistryKey Key='Implemented
Categories\{40FC6ED4-2438-11CF-A3DB-080036F12502}'
Action='createAndRemoveOnUninstall' /
 RegistryKey Key='Implemented
Categories\{40FC6ED5-2438-11CF-A3DB-080036F12502}'
Action='createAndRemoveOnUninstall' / 
 RegistryKey Key='Implemented
Categories\{7DD95801-9882-11CF-9FA9-00AA006C42C4}'
Action='createAndRemoveOnUninstall' /
 RegistryKey Key='Implemented
Categories\{7DD95802-9882-11CF-9FA9-00AA006C42C4}'
Action='createAndRemoveOnUninstall' / 
 RegistryValue Key='MiscStatus' Value='0' Type='string' /
 RegistryValue Key='MiscStatus\1' Value='131473' Type='string' /
 RegistryValue Key='ToolboxBitmap32' Value='[#mscomctl.ocx], 10'
Type='string' / 
/RegistryKey

 

and that gives me this, taken from the reg table in ORCA.  i could attach a
file if it would be neater.  the bolded entry is the offending one.

 

reg672AD8E870DEF700CE6394D6D4494E9F 0
CLSID\{1EFB6596-857C-11D1-B16A-00C0F0283628}  Microsoft TabStrip Control 6.0
(SP6) mscomctl.ocx
reg63BA47860515F82290B29892DC71EBE4 0
CLSID\{1EFB6596-857C-11D1-B16A-00C0F0283628} *  mscomctl.ocx
regCA4AF5D5AD8C376C3135CA50FE12360F 0
CLSID\{1EFB6596-857C-11D1-B16A-00C0F0283628}\Control *   mscomctl.ocx
reg22123D88484DCCAEBA376FEF9314E720 0
CLSID\{1EFB6596-857C-11D1-B16A-00C0F0283628}\Implemented
Categories\{0DE86A52-2BAA-11CF-A229-00AA003D7352} *  mscomctl.ocx
regEB22AA9FEF67CDC66816D17A723656C9 0
CLSID\{1EFB6596-857C-11D1-B16A-00C0F0283628}\Implemented
Categories\{0DE86A53-2BAA-11CF-A229-00AA003D7352} *   mscomctl.ocx
regDB7692623C1DC342F645C144118C28CB 0
CLSID\{1EFB6596-857C-11D1-B16A-00C0F0283628}\Implemented
Categories\{0DE86A57-2BAA-11CF-A229-00AA003D7352} *  mscomctl.ocx
regBF54EDAF52A18A9A09EA09E2FCF201CF 0
CLSID\{1EFB6596-857C-11D1-B16A-00C0F0283628}\Implemented
Categories\{40FC6ED4-2438-11CF-A3DB-080036F12502} *   mscomctl.ocx
reg21B7FBE0E7F475E6251BDCC314797F4A 0
CLSID\{1EFB6596-857C-11D1-B16A-00C0F0283628}\Implemented
Categories\{40FC6ED5-2438-11CF-A3DB-080036F12502} *  mscomctl.ocx
regF8613163B90EFB04BAD9EB99DCF26958 0

Re: [WiX-users] Download files for install

2007-05-02 Thread Magus

I have just been informed that it needs to be interruptable and doesn't have
to restart downloading from the beginning.  We trying to figure out if this
is something out there that will do this. We have a 5gb files to download
and we need to know if there is something that will achieve this capability,
that doesn't require any extra work on my part due to time constraints.  

Rob Hamflett wrote:
 
 This might be useful to you:
 http://msdn.microsoft.com/library/default.asp?url=/library/en-us/msi/setup/a_url_based_windows_installer_installation_example.asp
 
 Rob
 
 Magus wrote:
 I want to make a package, that downloads the files from a specific
 location
 via the internet, is this possible and are their any examples/tutorials
 you
 might be able to lead me to.
 
 
 -
 This SF.net email is sponsored by DB2 Express
 Download DB2 Express C - the FREE version of DB2 express and take
 control of your XML. No limits. Just data. Click to get it now.
 http://sourceforge.net/powerbar/db2/
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users
 
 

-- 
View this message in context: 
http://www.nabble.com/Download-files-for-install-tf3677937.html#a10294086
Sent from the wix-users mailing list archive at Nabble.com.


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Download files for install

2007-05-02 Thread Wilson, Phil
If I were downloading something from an IIS server with those restart
requirements I'd use BITS.  There are samples to download in the Windows
SDK samples folder \Web. 

More info here: 

http://msdn2.microsoft.com/en-us/library/aa363160.aspx 

Phil Wilson 


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Magus
Sent: Wednesday, May 02, 2007 1:29 PM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Download files for install


I have just been informed that it needs to be interruptable and doesn't
have to restart downloading from the beginning.  We trying to figure out
if this is something out there that will do this. We have a 5gb files to
download and we need to know if there is something that will achieve
this capability, that doesn't require any extra work on my part due to
time constraints.  

Rob Hamflett wrote:
 
 This might be useful to you:
 http://msdn.microsoft.com/library/default.asp?url=/library/en-us/msi/s
 etup/a_url_based_windows_installer_installation_example.asp
 
 Rob
 
 Magus wrote:
 I want to make a package, that downloads the files from a specific 
 location via the internet, is this possible and are their any 
 examples/tutorials you might be able to lead me to.
 
 
 --
 --- This SF.net email is sponsored by DB2 Express Download DB2 Express

 C - the FREE version of DB2 express and take control of your XML. No 
 limits. Just data. Click to get it now.
 http://sourceforge.net/powerbar/db2/
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users
 
 

--
View this message in context:
http://www.nabble.com/Download-files-for-install-tf3677937.html#a1029408
6
Sent from the wix-users mailing list archive at Nabble.com.



-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Download files for install

2007-05-02 Thread Matthew Janulewicz
We have an internal installer that ftp's content using a Win32 version
of wget, called by a custom action. It's a tiny bit ugly because it pops
up a command dialog, but as I said it is 100% internal, only run by two
CM guys, so we weren't concerned with aesthetics. It would be cool if we
could redirect the output to an installer text control. (Maybe we can,
but I couldn't figure out how.)

If I were in this situation, I'd look for a win32 version of rsync.


-Matt


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Wilson,
Phil
Sent: Wednesday, May 02, 2007 2:08 PM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Download files for install

If I were downloading something from an IIS server with those restart
requirements I'd use BITS.  There are samples to download in the Windows
SDK samples folder \Web. 

More info here: 

http://msdn2.microsoft.com/en-us/library/aa363160.aspx 

Phil Wilson 


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Magus
Sent: Wednesday, May 02, 2007 1:29 PM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Download files for install


I have just been informed that it needs to be interruptable and doesn't
have to restart downloading from the beginning.  We trying to figure out
if this is something out there that will do this. We have a 5gb files to
download and we need to know if there is something that will achieve
this capability, that doesn't require any extra work on my part due to
time constraints.  

Rob Hamflett wrote:
 
 This might be useful to you:
 http://msdn.microsoft.com/library/default.asp?url=/library/en-us/msi/s
 etup/a_url_based_windows_installer_installation_example.asp
 
 Rob
 
 Magus wrote:
 I want to make a package, that downloads the files from a specific 
 location via the internet, is this possible and are their any 
 examples/tutorials you might be able to lead me to.
 
 
 --
 --- This SF.net email is sponsored by DB2 Express Download DB2 Express

 C - the FREE version of DB2 express and take control of your XML. No 
 limits. Just data. Click to get it now.
 http://sourceforge.net/powerbar/db2/
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users
 
 

--
View this message in context:
http://www.nabble.com/Download-files-for-install-tf3677937.html#a1029408
6
Sent from the wix-users mailing list archive at Nabble.com.



-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users




-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] wix3: automatically pick setup language

2007-05-02 Thread Igor Maslov

Yes, it took me a while to understand too.

Just to be sure that we are talking about the same thing: you want to put
all languages in a single msi file. Right?
Because what I say does not apply if you just want to create a separate MSI
for each language. 

Wrong approach:

1. You localized all your code. 
2. You build separate msi for each language. If you run it, it shows
perfectly localized dialogs. 
3. You take one language as a base. For example, you take English, and
create transforms as
   difference between English and all other languages. 

   Now you have mst files for all of the languages except English.

4. You add all transforms back to English msi.

Now, when you run English - it's OK.
When you run any other language (by applying transform) some dialogs will
display English strings.

Right approach:
To fix I did the following:

2a. You build separate msi for each language. If you run it it shows
perfectly localized dialogs. 

 Take English version, put langID and codepage values to 0, and buld it.
Call this neutral.

3a. You take neutral as a base, not English.
and create transforms as  difference between neutral and all other
languages, including English. 

   Now you have mst files for all of the languages INCLUDING English.

4a. You add all transforms back to neutral msi.

Use your bootstrap program to launch MSI with appropriate transform.

Best,
Igor







Rennie Petersen wrote:
 
 Thanks for your feedback.
 
 I'm afraid I still don't understand...
 
 I've provided localization for ALL of the texts in ALL of the WiX dialog
 boxes.
 
 The error messages you're talking about, are they maybe Windows
 Installer errors that are not part of the WiX UI?
 
 Anyway, if they are displayed in the wrong language when a Danish MST
 is applied to an English MSI, then surely they will be just as wrong
 (they'll be the same) when a Danish MST is applied to a neutral MSI.
 After applying the Danish MST the LCID and Codepage info is set for
 Danish, and the previous settings (English or neutral) are gone. So how
 can there be a difference?
 
 By the way, I'm using WiX 2.0. Maybe there's something different about
 WiX 3.0?
 
 Rennie
  
 
 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of 
 Igor Maslov
 Sent: 2. maj 2007 20:29
 To: wix-users@lists.sourceforge.net
 Subject: Re: [WiX-users] wix3: automatically pick setup language
 
 
 No, English is not OK. 
 
 Suppose you have English as base and, for example, French as 
 transform.
 Then, on some dialogs you will have part of the strings 
 (buttons, window titles in English, instead of French). It 
 happens mostrly on error dialogs.
 
 What worked for me:
 
 1. Create neutral base - set language ID and codepage to 0 
 (LANG = 0). I still use English strings to make it compile
 
  Product  Language=!(loc.LANG) ...
 UpgradeCode=$(var.ProductUpgradeCode)
 
 Package Id=* ...  
 Languages=!(loc.LANG) /
 
 2. Create separate packages for other languages (English 
 included). Set appropriate Language ID, codepage, culture strings
 
 3. Take base from 1) and create transform for each language
 
 Hope this helps
 
 
 
 
 
 Rennie Petersen wrote:
  
  What exactly do you mean by neutral culture settings? Is 
 English OK 
  for the base MSI, that the non-English MST's are created against? 
  That's what I've been doing and it seems to work OK.
  
  Rennie
  
  
  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED] On Behalf Of Igor 
  Maslov
  Sent: 2. maj 2007 19:16
  To: wix-users@lists.sourceforge.net
  Subject: Re: [WiX-users] wix3: automatically pick setup language
  
  
  
  When you use transforms (MST) approach make sure that your base 
  package has a neutral culture settings, otherwise you will 
 see some 
  weird mixture of languages
  
  
  
  pdschmid wrote:
   
   I am trying to have my setup program pick the 
 appropriate language 
   based on the user's computer: If the user has a German
  Windows, I want
   my setup program to be German. In all other cases, I want
  it to be in
   English.
   Can I do anything like this with wix3?
   If yes, how?
   
   Thanks,
   
   Patrick Schmid
   
   
   
  
 -
  -
   --- This SF.net email is sponsored by DB2 Express Download
  DB2 Express
   C - the FREE version of DB2 express and take control of
  your XML. No
   limits. Just data. Click to get it now.
   http://sourceforge.net/powerbar/db2/
   ___
   WiX-users mailing list
   WiX-users@lists.sourceforge.net
   https://lists.sourceforge.net/lists/listinfo/wix-users
   
   
  
  --
  View this message in context: 
  http://www.nabble.com/wix3%3A-automatically-pick-setup-languag
  e-tf3678011.html#a10290586
  Sent from the wix-users mailing list archive at Nabble.com.
  
  
  

Re: [WiX-users] registering a .net assembly

2007-05-02 Thread Bob Arnson

Aurash Behbahani wrote:


I have a .net assembly that implements a COM interface, so I need to 
register it.  Looking at the ComPlusAssembly element, it seems that 
for .net assemblies, I need to include a type library for the 
assembly.  I'm able to register the assembly normally using regasm.exe 
without a type library, so is there another way to register a COM 
assembly without the type library?




The COM+ CAs are for COM+, not COM interop. Use Regasm's /regfile switch 
to write the registry information to a file you can inspect. You can use 
Heat or Tallow to capture WiX authoring equivalent.


--
sig://boB
http://joyofsetup.com/

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users