[WiX-users] XmlFile can't create a child element

2012-05-31 Thread Kjartan Þór Kjartansson
Hi,

I'm having a problem with using XmlFile to make changes to a configuration 
file. I'm trying to build the database appender configuration for log4net and I 
always get this error:

ExecXmlFile:  Error 0x80004005: failed to create child element: 
conversionPattern

The source for generating this element is:


Component Id=ComponentName Guid=GUID Directory=INSTALLFOLDER 
KeyPath=yes

  util:XmlFile Id=ComponentName

File=[#fil9821DC700FB1F32609450B3033F099B7]

Action=createElement

ElementPath=/configuration/log4net/appender [\[]@name = 
'DatabaseAppender'[\]]/parameter[\[]parameterName [\[]substring(@value, 2) = 
'thread'[\]][\]]/layout [\[]@type = 'log4net.Layout.PatternLayout'[\]]

Name=conversionPattern 

SelectionLanguage=XPath

Sequence=76 /

  Condition

![CDATA[ DATABASELOGGING = true ]]

  /Condition

/Component

If I change the ElementPath I get an error saying that the path can't be found, 
so XmlFile can apparently find the parent element, but isn't able to create a 
child for some reason. I can find no information on this error via Google so 
I'm hoping someone here has run into a similar problem and point me in the 
right direction

Best regards,
Kjartan Þór


Kjartan Thor 
Kjartanssonhttp://www.fivedegrees.nl/AboutUs/OurStaff#have-you-met:Kjartan

Software Developer


Five Degrees
Borgartún 26

Reykjavik

Iceland


T: +354 551 0510


www.fivedegrees.nlhttp://www.fivedegrees.nl/




E-mail and attachments sent by Five Degrees employees may contain confidential 
and privileged information and are only intended for the addressee. The content 
of the message is the individual sender's responsibility, if it is not related 
to the operation of Five Degrees. If you are not the intended recipient of this 
e-mail, please notify us immediately by reply e-mail and then delete this 
message completely from your system.


--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] XmlFile can't create a child element

2012-05-31 Thread Kjartan Þór Kjartansson
Thank you, this solved the problem, I just did not see the space there

Regards,
Kjartan Þór

-Original Message-
From: Peter Shirtcliffe [mailto:pshirtcli...@sdl.com] 
Sent: 31. maí 2012 12:26
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] XmlFile can't create a child element

There's a space in the Name attribute. Other than that, it looks like it should 
work. If that's not the problem, can you post the xml please ?

-Original Message-
From: Kjartan Þór Kjartansson [mailto:kjar...@fivedegrees.is]
Sent: 31 May 2012 12:42
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] XmlFile can't create a child element

Hi,

I'm having a problem with using XmlFile to make changes to a configuration 
file. I'm trying to build the database appender configuration for log4net and I 
always get this error:

ExecXmlFile:  Error 0x80004005: failed to create child element:
conversionPattern

The source for generating this element is:


Component Id=ComponentName Guid=GUID Directory=INSTALLFOLDER
KeyPath=yes

  util:XmlFile Id=ComponentName

File=[#fil9821DC700FB1F32609450B3033F099B7]

Action=createElement

ElementPath=/configuration/log4net/appender [\[]@name = 
'DatabaseAppender'[\]]/parameter[\[]parameterName [\[]substring(@value, 2) = 
'thread'[\]][\]]/layout [\[]@type = 'log4net.Layout.PatternLayout'[\]]

Name=conversionPattern 

SelectionLanguage=XPath

Sequence=76 /

  Condition

![CDATA[ DATABASELOGGING = true ]]

  /Condition

/Component

If I change the ElementPath I get an error saying that the path can't be found, 
so XmlFile can apparently find the parent element, but isn't able to create a 
child for some reason. I can find no information on this error via Google so 
I'm hoping someone here has run into a similar problem and point me in the 
right direction

Best regards,
Kjartan Þór


Kjartan Thor
Kjartanssonhttp://www.fivedegrees.nl/AboutUs/OurStaff#have-you-met:Kjartan

Software Developer


Five Degrees
Borgartún 26

Reykjavik

Iceland


T: +354 551 0510


www.fivedegrees.nlhttp://www.fivedegrees.nl/




E-mail and attachments sent by Five Degrees employees may contain confidential 
and privileged information and are only intended for the addressee. The content 
of the message is the individual sender's responsibility, if it is not related 
to the operation of Five Degrees. If you are not the intended recipient of this 
e-mail, please notify us immediately by reply e-mail and then delete this 
message completely from your system.


-
-
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and threat 
landscape has changed and how IT managers can respond. Discussions will include 
endpoint security, mobile security and the latest in malware threats.
http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users
SDL PLC confidential, all rights reserved.
If you are not the intended recipient of this mail SDL requests and requires 
that you delete it without acting upon or copying any of its contents, and we 
further request that you advise us.
SDL PLC is a public limited company registered in England and Wales.  
Registered number: 02675207.
Registered address: Globe House, Clivemont Road, Maidenhead, Berkshire SL6 7DY, 
UK.


--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and threat 
landscape has changed and how IT managers can respond. Discussions will include 
endpoint security, mobile security and the latest in malware threats. 
http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Shortcuts in the All Users Start Menu

2011-11-07 Thread Kjartan Þór Kjartansson
The permissions are:
SYSTEM: Full Control
Installer Service Account: Full Control

So no other users can access or execute the shortcut. I can see only two places 
in the log file where file security is set and that is when calling the system 
restore service before installation commences and when copying the msi file to 
the local machine cache. I started the installer from a cmd window with 
elevated priviledges with the command line msiexec -i Setup.msi -lvx* 
install.log.

Regards,
Kjartan Þór

-Original Message-
From: Bob Arnson [mailto:b...@joyofsetup.com] 
Sent: 6. nóvember 2011 14:21
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Shortcuts in the All Users Start Menu

On 05-Nov-11 17:50, Kjartan Þór Kjartansson wrote:
 Has no-one else had this problem that users can't click on shortcuts placed 
 in the start menu when the ALLUSERS property is set to 1? Maybe it is 
 relevant but this is happening on Windows 7 32-bit, I don't have an 
 oppertunity to test how this works on other platforms.
No, they work as expected for me. What are the permissions from 
Explorer? You might also check a verbose install log to see if for some 
reason, MSI is applying permissions.

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


--
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

--
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Shortcuts in the All Users Start Menu

2011-11-05 Thread Kjartan Þór Kjartansson
Has no-one else had this problem that users can't click on shortcuts placed in 
the start menu when the ALLUSERS property is set to 1? Maybe it is relevant but 
this is happening on Windows 7 32-bit, I don't have an oppertunity to test how 
this works on other platforms.

Kjartan


Frá: Kjartan Þór Kjartansson [kjartan.thor.kjartans...@islandsbanki.is]
Sent: 3. nóvember 2011 09:18
Viðtakandi: General discussion for Windows Installer XML toolset.
Efni: Re: [WiX-users] Shortcuts in the All Users Start Menu

Not being able to modify the shortcut is what I expected but no permissions at 
all, i.e. not being able to see it as a shortcut only as a file that the user 
can't double click to start or even have permissions to see it's icon, that is 
not what I expected.

Kjartan


-Original Message-
From: Bob Arnson [mailto:b...@joyofsetup.com]
Sent: 3. nóvember 2011 01:19
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Shortcuts in the All Users Start Menu

On 02-Nov-11 09:10, Kjartan Þór Kjartansson wrote:
 I have a wix project that places a shortcut in a subfolder in the users start 
 menu, when I change the source to set the ALLUSERS property to 1 I get the 
 shortcut in the correct place but the permissions of the shortcut are 
 incorrect resulting in users not having access to the shortcut. Only system 
 and the installer service account have permissions for the shortcut.

That's expected: It's in a per-machine location so normal users can't
modify them.

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


--
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

--
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users
--
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Shortcuts in the All Users Start Menu

2011-11-03 Thread Kjartan Þór Kjartansson
Not being able to modify the shortcut is what I expected but no permissions at 
all, i.e. not being able to see it as a shortcut only as a file that the user 
can't double click to start or even have permissions to see it's icon, that is 
not what I expected.

Kjartan


-Original Message-
From: Bob Arnson [mailto:b...@joyofsetup.com] 
Sent: 3. nóvember 2011 01:19
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Shortcuts in the All Users Start Menu

On 02-Nov-11 09:10, Kjartan Þór Kjartansson wrote:
 I have a wix project that places a shortcut in a subfolder in the users start 
 menu, when I change the source to set the ALLUSERS property to 1 I get the 
 shortcut in the correct place but the permissions of the shortcut are 
 incorrect resulting in users not having access to the shortcut. Only system 
 and the installer service account have permissions for the shortcut.

That's expected: It's in a per-machine location so normal users can't 
modify them.

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


--
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

--
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Shortcuts in the All Users Start Menu

2011-11-02 Thread Kjartan Þór Kjartansson
Hi,

I have a wix project that places a shortcut in a subfolder in the users start 
menu, when I change the source to set the ALLUSERS property to 1 I get the 
shortcut in the correct place but the permissions of the shortcut are incorrect 
resulting in users not having access to the shortcut. Only system and the 
installer service account have permissions for the shortcut.

Below are the parts that I use to install the shortcut onto the start menu.

Directory Id=TARGETDIR Name=SourceDir
  Directory Id=StartMenuFolder
Directory Id=MyProgramFolder Name=PROGRAM
/Directory
  /Directory
/Directory


DirectoryRef Id=MyProgramFolder
  Component Id=ProgramFolderShortcut Guid={GUID}
Shortcut Id=ProgramProgramFolderShortcut
 Name=Program
  Description=Program UI
  Target=[INSTALLLOCATION]Program.exe/
RemoveFolder Id=MyProgramFolder On=uninstall/
RegistryValue Root=HKCU Key=Software\Company\ProgramUI 
Name=installed Type=integer Value=1 KeyPath=yes/
  /Component
/DirectoryRef

I hope someone has a solution for me

--
RSA#174; Conference 2012
Save $700 by Nov 18
Register now#33;
http://p.sf.net/sfu/rsa-sfdev2dev1
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Installation problems with the weekly builds

2009-01-13 Thread Kjartan Þór Kjartansson
Hi,

I've been having a problem running the msi packages of the last two weekly 
builds of WiX. It seems like it can't finish running the CostInitialize so the 
wait for disk requierments dialog comes up and never finishes. I have looked at 
the log file but can't see what is wrong there so I attached it to this message.

Regards

Kjartan Þór Kjartansson
Forritari / Software Developer

Eskill ehf.
Lynghálsi 9
110 Reykjavík
Ísland / Iceland
www.eskill.ishttp://www.eskill.is/
+354 594  / +354 594 0031


Fyrirvari/Disclaimer
www.eskill.is/disclaimerhttp://www.eskill.is/disclaimer

--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] {** Spam **} ** {Spam} ** RE: Installation problems with the weekly builds

2009-01-13 Thread Kjartan Þór Kjartansson
Property(C): OriginalDatabase = C:\Downloads\WiX\V3\Wix3.msi
Property(C): SOURCEDIR = C:\Downloads\WiX\V3\
Property(C): VersionHandler = 4.05
Property(C): UILevel = 5
Property(C): ACTION = INSTALL
Property(C): EXECUTEACTION = INSTALL
Property(C): ROOTDRIVE = C:\
Property(C): CostingComplete = 1
Property(C): OutOfDiskSpace = 0
Property(C): OutOfNoRbDiskSpace = 0
Property(C): PrimaryVolumeSpaceAvailable = 0
Property(C): PrimaryVolumeSpaceRequired = 0
Property(C): PrimaryVolumeSpaceRemaining = 0
Property(C): INSTALLLEVEL = 1
=== Logging stopped: 13.1.2009  10:54:26 ===
MSI (c) (DC:58) [10:54:26:161]: Note: 1: 1708
MSI (c) (DC:58) [10:54:26:161]: Product: Windows Installer XML Toolset 
3.0.4909.0 -- Installation failed.

MSI (c) (DC:58) [10:54:26:162]: Windows Installer installed the product. 
Product Name: Windows Installer XML Toolset 3.0.4909.0. Product Version: 
3.0.4909.0. Product Language: 1033. Installation success or error status: 1602.

MSI (c) (DC:58) [10:54:26:169]: Grabbed execution mutex.
MSI (c) (DC:58) [10:54:26:169]: Cleaning up uninstalled install packages, if 
any exist
MSI (c) (DC:58) [10:54:26:171]: MainEngineThread is returning 1602
=== Verbose logging stopped: 13.1.2009  10:54:26 ===


-Original Message-
From: Kjartan Þór Kjartansson [mailto:kjar...@eskill.is]
Sent: 13. janúar 2009 12:50
To: General discussion for Windows Installer XML toolset.
Subject: [WiX-users] Installation problems with the weekly builds

Hi,

I've been having a problem running the msi packages of the last two weekly 
builds of WiX. It seems like it can't finish running the CostInitialize so the 
wait for disk requierments dialog comes up and never finishes. I have looked at 
the log file but can't see what is wrong there so I attached it to this message.

Regards

Kjartan Þór Kjartansson
Forritari / Software Developer

Eskill ehf.
Lynghálsi 9
110 Reykjavík
Ísland / Iceland
www.eskill.ishttp://www.eskill.is/
+354 594  / +354 594 0031


Fyrirvari/Disclaimer
www.eskill.is/disclaimerhttp://www.eskill.is/disclaimer


--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Installation problems with the weekly builds

2009-01-13 Thread Kjartan Þór Kjartansson
It is probably the same problem. But this is the first time I run into this 
with regards to packages I don't build myself

Kjartan

-Original Message-
From: Neil Sleightholm [mailto:n...@x2systems.com] 
Sent: 13. janúar 2009 13:28
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Installation problems with the weekly builds

This sounds like this problem: 
http://n2.nabble.com/Installer-hanging-while-doing-FileCost,-not-frequently-though.-td2116872.html#none

Neil

-Original Message-
From: Kjartan Þór Kjartansson [mailto:kjar...@eskill.is] 
Sent: 13 January 2009 12:50
To: General discussion for Windows Installer XML toolset.
Subject: [WiX-users] Installation problems with the weekly builds

Hi,

I've been having a problem running the msi packages of the last two weekly 
builds of WiX. It seems like it can't finish running the CostInitialize so the 
wait for disk requierments dialog comes up and never finishes. I have looked at 
the log file but can't see what is wrong there so I attached it to this message.

Regards

Kjartan Þór Kjartansson
Forritari / Software Developer

Eskill ehf.
Lynghálsi 9
110 Reykjavík
Ísland / Iceland
www.eskill.ishttp://www.eskill.is/
+354 594  / +354 594 0031


Fyrirvari/Disclaimer
www.eskill.is/disclaimerhttp://www.eskill.is/disclaimer


--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Component Catalog

2009-01-08 Thread Kjartan Þór Kjartansson
Hi,

Early last year there was some conversation about a component catalog, 
http://www.mail-archive.com/wix-users@lists.sourceforge.net/msg05473.html. Now 
I think something like that would be what I need for my current project in the 
future, we are now aggregating files from 10 seperate projects into one 
installer with a single rooted file tree with 380 files and the filecount is 
expanding.

So I'm asking if someone did anything in relation to that discussion or else if 
someone has a handle on all the cases that need to be handled.

Regards,

Kjartan Þór Kjartansson
Forritari / Software Developer

Eskill ehf.
Lynghálsi 9
110 Reykjavík
Ísland / Iceland
www.eskill.ishttp://www.eskill.is/
+354 594  / +354 594 0031


Fyrirvari/Disclaimer
www.eskill.is/disclaimerhttp://www.eskill.is/disclaimer

--
Check out the new SourceForge.net Marketplace.
It is the best place to buy or sell services for
just about anything Open Source.
http://p.sf.net/sfu/Xq1LFB
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Installer hanging while doing FileCost, not frequently though.

2009-01-06 Thread Kjartan Þór Kjartansson
I have seen this as well on both XP and Vista with MSI 4.5, I have usually 
thought it was becouse I was trying to open the file to shortly after building 
the install, need to wait a few seconds, don't know why but when I wait I don't 
see this behavior.

Also saw this with the latest build of the 32 bit install of WiX 3 no matter 
how often I downloaded it.

Kjartan.

-Original Message-
From: Neil Sleightholm [mailto:n...@x2systems.com] 
Sent: 6. janúar 2009 10:23
To: General discussion for Windows Installer XML toolset.; Windows Installer 
Beta Support
Subject: Re: [WiX-users] Installer hanging while doing FileCost, not frequently 
though.

No answer but I have been seeing this too. I find that if you cancel the
dialog it sometimes continues but other times it just comes back. If I
cancel the install altogether it usually works ok. I am using the MSI
v4.5 and have seen it on Windows XP and Vista.

Neil

-Original Message-
From: Mukesh Agrawal [mailto:magra...@microsoft.com] 
Sent: 06 January 2009 09:58
To: 'General discussion for Windows Installer XML toolset.'; Windows
Installer Beta Support
Subject: [WiX-users] Installer hanging while doing FileCost, not
frequently though.


Hi

Sometimes we are facing this problem of our installer hanging up with a
window displaying
please wait while the installer finishes determining your disk space
requirements.

And, this cost computing continues till forever.
This is happening on XP machines with msi.dll version number
4.5.6001.22159. There are three such machines. Silent installation runs
fine, as obvious.
I must say that this is not a regular thing and we hit this scenario 4-5
times out of 100 or so attempts.

So, any input on this ?

Thanks
Mukesh

--
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

--
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

--
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Display of ComboBox values

2009-01-06 Thread Kjartan Þór Kjartansson
Hi all,

I am having a bit of a problem regarding comboboxes in the installer, when a 
combobox drops down it displays the text value but when the users selects a 
value from the list the box closes displaying the value from the value column 
instead of the text column. Is there any way to fix this behaviour?

Regards,

Kjartan Þór Kjartansson
Forritari / Software Developer

Eskill ehf.
Lynghálsi 9
110 Reykjavík
Ísland / Iceland
www.eskill.ishttp://www.eskill.is/
+354 594  / +354 594 0031


Fyrirvari/Disclaimer
www.eskill.is/disclaimerhttp://www.eskill.is/disclaimer

--
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Display of ComboBox values

2009-01-06 Thread Kjartan Þór Kjartansson
Thank you very much this fixed it :D

-Original Message-
From: Scott Sam [mailto:s...@clearviewecm.com] 
Sent: 6. janúar 2009 15:51
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Display of ComboBox values

Do you have the attribute ComboList set to yes?  I think that is what fixed it 
for me.

-Original Message-
From: Kjartan Þór Kjartansson [mailto:kjar...@eskill.is] 
Sent: Tuesday, January 06, 2009 9:29 AM
To: General discussion for Windows Installer XML toolset.
Subject: [WiX-users] Display of ComboBox values

Hi all,

I am having a bit of a problem regarding comboboxes in the installer, when a 
combobox drops down it displays the text value but when the users selects a 
value from the list the box closes displaying the value from the value column 
instead of the text column. Is there any way to fix this behaviour?

Regards,

Kjartan Þór Kjartansson
Forritari / Software Developer

Eskill ehf.
Lynghálsi 9
110 Reykjavík
Ísland / Iceland
www.eskill.ishttp://www.eskill.is/
+354 594  / +354 594 0031


Fyrirvari/Disclaimer
www.eskill.is/disclaimerhttp://www.eskill.is/disclaimer

--
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

--
Check out the new SourceForge.net Marketplace.
It is the best place to buy or sell services for
just about anything Open Source.
http://p.sf.net/sfu/Xq1LFB
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

--
Check out the new SourceForge.net Marketplace.
It is the best place to buy or sell services for
just about anything Open Source.
http://p.sf.net/sfu/Xq1LFB
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] WindowsInstaller.View.Modify() fails on Vista / Server 2008

2009-01-02 Thread Kjartan Þór Kjartansson
Thank you this pointed me in the right direction and I saw that in Vista/Server 
2008 I was insering a string where I should be inserting an integer



-Original Message-
From: Jason Ginchereau [mailto:jason...@microsoft.com] 
Sent: 31. desember 2008 19:26
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] WindowsInstaller.View.Modify() fails on Vista / Server 
2008

The most common reasons for a table insert to throw a function failed error 
are because there's already a record in the table with the same primary key, or 
because a required (non-nullable) field is missing/null in the inserted record. 
I would not expect those cases to behave differently with different MSI 
versions, but you should check to make sure.


-Original Message-
From: Kjartan Þór Kjartansson [mailto:kjar...@eskill.is]
Sent: Monday, December 29, 2008 6:38 AM
To: General discussion for Windows Installer XML toolset.
Subject: [WiX-users] WindowsInstaller.View.Modify() fails on Vista / Server 2008

Hi all,

I'm having a problem with installs made with Wix V3 running on Vista and Server 
2008, I have a custom action that opens a view on a custom table using 
Session.Database.OpenView(string) then it tries to add a record to the table 
with the view using View.Modify(ViewModifyMode.InsertTemporary, Record).

This works as expected on Server 2003 and XP but on Vista and Server 2008 this 
results with:

CustomActionException: 
Microsoft.Deployment.WindowsInstaller.InstallerException: Function failed 
during execution. Database:  Table(s) Update failed.
   at Microsoft.Deployment.WindowsInstaller.View.Modify(ViewModifyMode mode, 
Record record)

and the error code inside the Exception is 1627.

I´ve not been able to find useful information on this error with search engines 
but the closest thing is in this comment 
http://blogs.msdn.com/astebner/archive/2007/11/25/6522370.aspx#8593314 however 
there is no usefull information there only that someone has run into the same 
problem.


Best regards,

Kjartan Þór Kjartansson
Forritari / Software Developer

Eskill ehf.
Lynghálsi 9
110 Reykjavík
Ísland / Iceland
www.eskill.ishttp://www.eskill.is/
+354 594  / +354 594 0031


Fyrirvari/Disclaimer
www.eskill.is/disclaimerhttp://www.eskill.is/disclaimer

--
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


--
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

--
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] wix and IIS7

2008-12-30 Thread Kjartan Þór Kjartansson
This sounds like an extreme action, bordering on manhandling the IIS. It would 
be good to know from the owner of the IIS custom actions if there is a version 
that knows how to deal with IIS7 on the horizon.

Kjartan

-Original Message-
From: Amy Rosewater [mailto:arosewa...@spectrumhr.com] 
Sent: 23. desember 2008 19:10
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] wix and IIS7

Scott,

I have implemented the configuration of IIS7 through xml manipulation of
the applicationHost.config file.  All the IIS objects (app pools,
applications, virtual directories etc) really just equate to xml entries
in this file in this version of IIS.

To achieve this, I copied the applicationHost.config, manually set up my
web application through the Server Manager, and then did a file compare
between the original applicationHost.config and the new one to see what
IIS7 added for my application.

Then, I used XmlConfig nodes to modify the file from the installation.

The only issue you may run into is that the installation will need
permissions to open and edit that file.

Amy

-Original Message-
From: Scott Sam [mailto:s...@clearviewecm.com] 
Sent: Tuesday, December 23, 2008 11:57 AM
To: General discussion for Windows Installer XML toolset.
Subject: [WiX-users] wix and IIS7

I have to get our installers to work with IIS7 without classic mode.  I
know that it is not currently supported with wix.  What are my options
right now?  I've looked through the wix code and I don't think that I
can fix it by myself.  Does anybody else have to do  this?  What are you
doing?


--
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

--
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

--
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] WindowsInstaller.View.Modify() fails on Vista / Server 2008

2008-12-29 Thread Kjartan Þór Kjartansson
Hi all,

I'm having a problem with installs made with Wix V3 running on Vista and Server 
2008, I have a custom action that opens a view on a custom table using 
Session.Database.OpenView(string) then it tries to add a record to the table 
with the view using View.Modify(ViewModifyMode.InsertTemporary, Record).

This works as expected on Server 2003 and XP but on Vista and Server 2008 this 
results with:

CustomActionException: 
Microsoft.Deployment.WindowsInstaller.InstallerException: Function failed 
during execution. Database:  Table(s) Update failed.
   at Microsoft.Deployment.WindowsInstaller.View.Modify(ViewModifyMode mode, 
Record record)

and the error code inside the Exception is 1627.

I´ve not been able to find useful information on this error with search engines 
but the closest thing is in this comment 
http://blogs.msdn.com/astebner/archive/2007/11/25/6522370.aspx#8593314 however 
there is no usefull information there only that someone has run into the same 
problem.


Best regards,

Kjartan Þór Kjartansson
Forritari / Software Developer

Eskill ehf.
Lynghálsi 9
110 Reykjavík
Ísland / Iceland
www.eskill.ishttp://www.eskill.is/
+354 594  / +354 594 0031


Fyrirvari/Disclaimer
www.eskill.is/disclaimerhttp://www.eskill.is/disclaimer

--
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Problem setting dynamic values for website

2008-12-09 Thread Kjartan Þór Kjartansson
For the functionality you seek I used the example from this article 
http://blog.torresdal.net/2008/10/24/WiXAndDTFUsingACustomActionToListAvailableWebSitesOnIIS.aspx
 with good results.

-Original Message-
From: Rob Mensching [mailto:[EMAIL PROTECTED] 
Sent: 8. desember 2008 16:57
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Problem setting dynamic values for website

WiX doesn't have any functionality like that today.

-Original Message-
From: Eitan Behar [mailto:[EMAIL PROTECTED]
Sent: Friday, December 05, 2008 21:06
To: 'General discussion for Windows Installer XML toolset.'
Subject: Re: [WiX-users] Problem setting dynamic values for website

Don't know 

-Original Message-
From: ultraplop [mailto:[EMAIL PROTECTED]
Sent: Friday, December 05, 2008 6:11 PM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Problem setting dynamic values for website


Okay, yes that was a very basic syntax problem!  It works perfectly now,
thanks for the help; this will also help for prompting the user for other
values.  If you don't mind I would like to ask a high level question:

For my next project I am going to have more UI functionality for selecting
web sites.  I would like to have a pulldown control that scans the target
machine for the available web sites and allows the user to select one.  The
custom functionality would then install the new web app under this site.
Does wix already have this functionality or would I have to plug in a custom
dll that would talk to IIS?



Eitan Behar-3 wrote:

 You have missing []:

 Property Id=WEBSITEIP Value=*/
 Property Id=WEBSITEPORT Value=90/

 iis:WebSite Id='BuildAutomationWebSite'
 Description='BuildAutomation'
   iis:WebAddress Id='AllUnassigned' Port=[WEBSITEPORT]
 IP=[WEBSITEIP]/
 /iis:WebSite


 -Original Message-
 From: ultraplop [mailto:[EMAIL PROTECTED]
 Sent: Friday, December 05, 2008 4:56 PM
 To: wix-users@lists.sourceforge.net
 Subject: [WiX-users] Problem setting dynamic values for website


 Hello,

 I am a new wix user and I am creating an installer for a web application.
 One requirement is that the installer should allow the web app to be
 installed to any website specified.  In my first iteration of the
 installer
 I am just going to have text boxes that allow for the user to enter IP and
 port of their target website..  (Eventually I would like to create a UI
 dialog that allows the user to select from a pulldown similar to the VS
 web
 setup project)

 In any case Wix is not accepting variables.  Sample A has hardcoded values
 and works just fine.  Sample B returns an error during install that it
 can't
 read the IISwebsite table.  Also, I have customized the UI so that those
 properties are populated as the default text in my UI text boxes.  I do in
 fact see the proper values during the install, however Wix is clearly not
 using them.  The intention is that the user could type over the values to
 input thier own and install the application anywhere they want.

 This could be something very simple that I am missing, but I can't find
 any
 examples anywhere that handle websites in a dynamic fashion.  Can anyone
 let
 me know why sample A works, but sample B does not?

 Thanks


 Sample A (Works)

 iis:WebSite Id='BuildAutomationWebSite'
 Description='BuildAutomation'
   iis:WebAddress Id='AllUnassigned' Port=90 IP=* /
 /iis:WebSite

 Sample B (Does not work)

 Property Id=WEBSITEIP Value=*/
 Property Id=WEBSITEPORT Value=90/

 iis:WebSite Id='BuildAutomationWebSite'
 Description='BuildAutomation'
   iis:WebAddress Id='AllUnassigned' Port=WEBSITEPORT IP=WEBSITEIP
 /
 /iis:WebSite
 --
 View this message in context:

http://n2.nabble.com/Problem-setting-dynamic-values-for-website-tp1618681p16
 18681.html
 Sent from the wix-users mailing list archive at Nabble.com.




 --
 SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas,
 Nevada.
 The future of the web can't happen without you.  Join us at MIX09 to help
 pave the way to the Next Web now. Learn more and register at

http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users




--
 SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas,
 Nevada.
 The future of the web can't happen without you.  Join us at MIX09 to help
 pave the way to the Next Web now. Learn more and register at

http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users




[WiX-users] Using Red Gate Packager with Wix V3

2008-11-26 Thread Kjartan Þór Kjartansson
Hi all,

I´m creating an installer where we are using Red Gate´s SQL Packager to create 
a database, I don´t want the Packager to be left behind on the machine after 
install, but the only way I can find to run it is to have it installed along 
with the product and run it with a quiet custom action after install. That 
would create a need to delete the Packager from the install-location after 
being run. This seems a bit fragile to me so if any-one can point me in a 
better direction that would help me a lot.

Best regards,

Kjartan Þór Kjartansson
Forritari / Software Developer

Eskill ehf.
Lynghálsi 9
110 Reykjavík
Ísland / Iceland
www.eskill.ishttp://www.eskill.is/
+354 594  / +354 594 0031


Fyrirvari/Disclaimer
www.eskill.is/disclaimerhttp://www.eskill.is/disclaimer


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Using Red Gate Packager with Wix V3

2008-11-26 Thread Kjartan Þór Kjartansson
Some additional information I forgot to include, for those who have not used 
Red Gate´s SQL Packager the package is an exe file that tries to invoke itself 
when its started and that fails when it's launched frome within an MSI since it 
can't find itself in the working folder.

Kjartan

-Upphaflegt skeyti-
From: Kjartan Þór Kjartansson [mailto:[EMAIL PROTECTED] 
Sent: 26. nóvember 2008 13:37
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Using Red Gate Packager with Wix V3

Hi all,

I´m creating an installer where we are using Red Gate´s SQL Packager to create 
a database, I don´t want the Packager to be left behind on the machine after 
install, but the only way I can find to run it is to have it installed along 
with the product and run it with a quiet custom action after install. That 
would create a need to delete the Packager from the install-location after 
being run. This seems a bit fragile to me so if any-one can point me in a 
better direction that would help me a lot.

Best regards,

Kjartan Þór Kjartansson
Forritari / Software Developer

Eskill ehf.
Lynghálsi 9
110 Reykjavík
Ísland / Iceland
www.eskill.ishttp://www.eskill.is/
+354 594  / +354 594 0031


Fyrirvari/Disclaimer
www.eskill.is/disclaimerhttp://www.eskill.is/disclaimer


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] WiX V3 not uninstalling webistes properly

2008-11-21 Thread Kjartan Þór Kjartansson
This solved the problem so thank you very much :-) 

-Upphaflegt skeyti-
From: Rob Mensching [mailto:[EMAIL PROTECTED] 
Sent: 20. nóvember 2008 17:02
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] WiX V3 not uninstalling webistes properly

A verbose log file of the uninstall should show you what Components are being 
uninstalled and should tell you which WebSite is being nuked.  Remember, that 
WebSites are found by the WebAddress tuple so if that matched the default web 
site at uninstall, that's what got uninstalled.

-Original Message-
From: Kjartan Þór Kjartansson [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 20, 2008 06:29
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] WiX V3 not uninstalling webistes properly

Hi all,

I'm creating an installer that installs a webapplication under IIS, the user is 
allowed to choose if it should be installed as a new website, using an existing 
website or as a virtual dir under an existing website.

The problem I'm having is that when the user decides to create a new website, 
if the app is uninstalled it deletes the Default Web Site but leaves behind the 
website that was created by the installer.

The way this is configured is that I have a seperate Component with conditions 
whether the user wants to create a website or use a virtual dir, there is a 
website configuration in the component for creating a website but when the user 
selects to use a virtual dir there is another Component that refernces a 
iis:website element that is declared under a fragment element so that Windows 
Installer should not install and uninstall it. This works properly for the 
Virtual Directory scenario.

If anyone can give me some pointers as to where I should look for the problem 
that would be great,

Best regards,

Kjartan Þór Kjartansson
Forritari / Software Developer

Eskill ehf.
Lynghálsi 9
110 Reykjavík
Ísland / Iceland
www.eskill.ishttp://www.eskill.is/
+354 594  / +354 594 0031


Fyrirvari/Disclaimer
www.eskill.is/disclaimerhttp://www.eskill.is/disclaimer


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] WiX V3 not uninstalling webistes properly

2008-11-20 Thread Kjartan Þór Kjartansson
Hi all,

I'm creating an installer that installs a webapplication under IIS, the user is 
allowed to choose if it should be installed as a new website, using an existing 
website or as a virtual dir under an existing website.

The problem I'm having is that when the user decides to create a new website, 
if the app is uninstalled it deletes the Default Web Site but leaves behind the 
website that was created by the installer.

The way this is configured is that I have a seperate Component with conditions 
whether the user wants to create a website or use a virtual dir, there is a 
website configuration in the component for creating a website but when the user 
selects to use a virtual dir there is another Component that refernces a 
iis:website element that is declared under a fragment element so that Windows 
Installer should not install and uninstall it. This works properly for the 
Virtual Directory scenario.

If anyone can give me some pointers as to where I should look for the problem 
that would be great,

Best regards,

Kjartan Þór Kjartansson
Forritari / Software Developer

Eskill ehf.
Lynghálsi 9
110 Reykjavík
Ísland / Iceland
www.eskill.ishttp://www.eskill.is/
+354 594  / +354 594 0031


Fyrirvari/Disclaimer
www.eskill.is/disclaimerhttp://www.eskill.is/disclaimer


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users