Re: [WiX-users] Wix V3 - setupbld.exe - Error 0x80070013: Failed to CreateSetup

2008-07-07 Thread Lindsay Harris
Hi Wix experts,

We are getting this error when we try to use setupbld.exe.

setupbld.exe -out 
D:\AGPM_30\source.binaries.x86fre\agpm_30\agpm_30_server_x86.exe -mt 
D:\AGPM_30\source.binaries.x86fre\agpm_30\agpm_30_server.x86.en-US.msi -u 1031 
D:\AGPM_30\source.binaries.x86fre\agpm_30\server_de-DE.mst -u 3082 
D:\AGPM_30\source.binaries.x86fre\agpm_30\server_es-ES.mst -u 1036 
D:\AGPM_30\source.binaries.x86fre\agpm_30\server_fr-FR.mst -u 1040 
D:\AGPM_30\source.binaries.x86fre\agpm_30\server_it-IT.mst -u 1041 
D:\AGPM_30\source.binaries.x86fre\agpm_30\server_ja-JP.mst -u 1042 
D:\AGPM_30\source.binaries.x86fre\agpm_30\server_ko-KR.mst -u 1046 
D:\AGPM_30\source.binaries.x86fre\agpm_30\server_pt-BR.mst -u 1049 
D:\AGPM_30\source.binaries.x86fre\agpm_30\server_ru-RU.mst -u 2052 
D:\AGPM_30\source.binaries.x86fre\agpm_30\server_zh-CN.mst -u 1028 
D:\AGPM_30\source.binaries.x86fre\agpm_30\server_zh-TW.mst -setup 
D:\AGPM_30\source\tools\wix3\setup.exe
Error 0x80070013: Failed to CreateSetup.

I looked up the HRESULT and it looks like 0x80070013 is The media is write 
protected.

If I try to do the command manually it is successful.  Do u have any trouble 
shooting ideas?

Thanks so much!
Lindsay
-
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Applying a transform so we can have one package with all languages - setupbld.exe and setup.exe

2008-05-05 Thread Lindsay Harris
Hello wix experts,

I am looking to apply a transform to my wix installer based on the language of 
the target OS, so that I can show that language in the UI and ship only one 
package.  I have heard of setupbld.exe and setup.exe from Bob Arson, but do u 
have any examples of how to use these?

There wasn't any command line help for setup.exe so I am not sure at all how to 
use that tool.  Does anyone have an example I could look at?

Thanks so much for any help!
Lindsay

-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] update text box text after C++ custom action

2008-03-15 Thread Lindsay Harris
Hello wix gurus, I was wondering if u could point me in the right direction 
here.

I have a text box on a dialog with a browse button, so u can browse for a user 
account.

When u click the browse button I call into a C++ custom action that opens the 
standard AD browser, the user can then select an account, push ok, and then the 
text in the text box should be the user account chosen.

Unfortunately I have some strange behavior. :( If u browse for an account the 
text box is updated correctly.  Even then if u browse again the text is 
replaced correctly.  However, if u type in the text box at all, then when u 
browse the text will not be replaced.  If u then click back and then next to 
return to that dialog the text is updated correctly.  (was that as clear as 
mud?).

I'm not sure what I'm missing here, maybe my edit box needs to subscribe to a 
property change event???  Here is the code:

Control Id=EditUserName Type=Edit X=120 Y=90 Width=162 Height=17 
Property=SVC_USERNAME /

Control Id=PushButtonUserBrowse Type=PushButton X=287 Y=90 Width=48 
Height=17 Text=$(loc.WixUIBrowse) 
  !--CAll the custom action to open a browser, and return a user account 
that the user chooses. --
  Publish Event=DoAction Value=VaultOwnerBrowser1/Publish
  Publish Property=SVC_USERNAME Value=[SVC_USERNAME]1/Publish
/Control

Any help here would be so appreciated!
Thanks in advance!
Lindsay Harris
-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] update text box text after C++ custom action

2008-03-15 Thread Lindsay Harris
Hi Bob thanks for the reply,

Its strange though that if you don't type into it then it udpates fine..

From: Bob Arnson [EMAIL PROTECTED]
Sent: Saturday, March 15, 2008 1:21 PM
To: Lindsay Harris
Cc: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] update text box text after C++ custom action

Lindsay Harris wrote:
Unfortunately I have some strange behavior. :( If u browse for an account the 
text box is updated correctly.  Even then if u browse again the text is 
replaced correctly.  However, if u type in the text box at all, then when u 
browse the text will not be replaced.  If u then click back and then next to 
return to that dialog the text is updated correctly.  (was that as clear as 
mud?).

I don't know of a way to trigger such an update.


--
sig://boB
http://joyofsetup.com/
-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] changing a directory during modify

2007-04-27 Thread Lindsay Harris
Thanks everyone for the responses.

I am trying to ACL this directory, so there ARE components installed:

Directory Id=ARCHIVEFOLDERDIR
   Component Id=aclArchiveDir DiskId=1 
Guid=0E0F8E2A-3646-4df0-AD30-C1F03FBA8E0F
CreateFolder Directory=ARCHIVEFOLDERDIR
Permission User=[ACL] TakeOwnership=yes 
GenericAll=yes WriteExtendedAttributes=yes/
Permission User=System TakeOwnership=yes 
GenericAll=yes WriteExtendedAttributes=yes/
Permission User=Administrators TakeOwnership=yes 
GenericAll=yes WriteExtendedAttributes=yes/
/CreateFolder
/Component
/Directory


From: Bob Arnson [mailto:[EMAIL PROTECTED]
Sent: Friday, April 27, 2007 12:05 AM
To: Rajive Kumar
Cc: Lindsay Harris; wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] changing a directory during modify

Rajive Kumar wrote:
I am not sure I understand the distinction. It is a property for the location 
of the data directory.

The difference is that if it's a directory to which any components are 
installed, you won't be able to change it during maintenance mode. If it's just 
a property that's written to the registry but not in the Directory table, then 
it should work.



--

sig://boB

http://bobs.org
-
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 a directory during modify

2007-04-27 Thread Lindsay Harris
So I took the component out from underneath the directory:

DirectoryRef Id=TARGETDIR

Directory Id=ARCHIVEFOLDERDIR
/Directory

  Component Id=aclArchiveDir DiskId=1 
Guid=0E0F8E2A-3646-4df0-AD30-C1F03FBA8E0F
CreateFolder Directory=ARCHIVEFOLDERDIR
 Permission User=[ACL] TakeOwnership=yes GenericAll=yes 
WriteExtendedAttributes=yes/
 Permission User=System TakeOwnership=yes GenericAll=yes 
WriteExtendedAttributes=yes/
 Permission User=Administrators TakeOwnership=yes 
GenericAll=yes WriteExtendedAttributes=yes/
/CreateFolder
  /Component

/DirectoryRef

And it seems to be working, even on modify.

Thanks!
Lindsay Harris

From: Bob Arnson
Sent: Friday, April 27, 2007 11:50 AM
To: Lindsay Harris; Bob Arnson; Rajive Kumar
Cc: wix-users@lists.sourceforge.net
Subject: RE: [WiX-users] changing a directory during modify

Unfortunately, once the component is installed, you can't change its directory 
- which it has, even if it has no files - during a modify operation. And 
because there are other operations (CreateFolder, Permission) you'd need to 
uninstall the component, modify its target directory, then install it again. 
You could do that from a bootstrapper .exe but no way I can think of to do it 
purely within the .msi's UI sequence.

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Lindsay Harris
Sent: Friday, 27 April, 2007 10:31
To: Bob Arnson; Rajive Kumar
Cc: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] changing a directory during modify

Thanks everyone for the responses.

I am trying to ACL this directory, so there ARE components installed:

Directory Id=ARCHIVEFOLDERDIR
   Component Id=aclArchiveDir DiskId=1 
Guid=0E0F8E2A-3646-4df0-AD30-C1F03FBA8E0F
CreateFolder Directory=ARCHIVEFOLDERDIR
Permission User=[ACL] TakeOwnership=yes 
GenericAll=yes WriteExtendedAttributes=yes/
Permission User=System TakeOwnership=yes 
GenericAll=yes WriteExtendedAttributes=yes/
Permission User=Administrators TakeOwnership=yes 
GenericAll=yes WriteExtendedAttributes=yes/
/CreateFolder
/Component
/Directory


From: Bob Arnson [mailto:[EMAIL PROTECTED]
Sent: Friday, April 27, 2007 12:05 AM
To: Rajive Kumar
Cc: Lindsay Harris; wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] changing a directory during modify

Rajive Kumar wrote:
I am not sure I understand the distinction. It is a property for the location 
of the data directory.

The difference is that if it's a directory to which any components are 
installed, you won't be able to change it during maintenance mode. If it's just 
a property that's written to the registry but not in the Directory table, then 
it should work.

--

sig://boB

http://bobs.org
-
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] changing a directory during modify

2007-04-26 Thread Lindsay Harris
Hello,

I am having problems with changing a directory based on input from the uer.  It 
works fine during the initial install, but during modify, the path is set 
correctly, and then inexplicably reset back to its initial value right after 
CostFinalize.  I don't understand why.  How can I stop this property 
(directory), from changing its value at this point?


MSI (s) (B0:40) [13:03:36:299]: Doing action: CostFinalize
MSI (s) (B0:40) [13:03:36:299]: Note: 1: 2205 2:  3: ActionText
Action 13:03:36: CostFinalize. Computing space requirements
Action start 13:03:36: CostFinalize.
MSI (s) (B0:40) [13:03:36:299]: PROPERTY CHANGE: Adding OutOfDiskSpace 
property. Its value is '0'.
MSI (s) (B0:40) [13:03:36:299]: PROPERTY CHANGE: Adding OutOfNoRbDiskSpace 
property. Its value is '0'.
MSI (s) (B0:40) [13:03:36:299]: PROPERTY CHANGE: Adding 
PrimaryVolumeSpaceAvailable property. Its value is '0'.
MSI (s) (B0:40) [13:03:36:299]: PROPERTY CHANGE: Adding 
PrimaryVolumeSpaceRequired property. Its value is '0'.
MSI (s) (B0:40) [13:03:36:299]: PROPERTY CHANGE: Adding 
PrimaryVolumeSpaceRemaining property. Its value is '0'.
MSI (s) (B0:40) [13:03:36:299]: PROPERTY CHANGE: Modifying LOGFILEDIR property. 
Its current value is 'C:\Documents and Settings\All Users\Application 
Data\Microsoft\AGPM\'. Its new value: 'C:\Documents and Settings\All 
Users\Application Data\Microsoft\AGPM'.
MSI (s) (B0:40) [13:03:36:299]: PROPERTY CHANGE: Modifying ARCHIVEFOLDERDIR 
property. Its current value is 'C:\Documents and 
Settings\Administrator\Desktop\two\'. Its new value: 'C:\Documents and 
Settings\Administrator\Desktop\one'.
MSI (s) (B0:40) [13:03:36:299]: PROPERTY CHANGE: Modifying INSTALLDIR property. 
Its current value is 'C:\Program Files\Microsoft\AGPM\Server\'. Its new value: 
'C:\Program Files\Microsoft\AGPM\Server'.
MSI (s) (B0:40) [13:03:36:299]: Note: 1: 2205 2:  3: Patch
MSI (s) (B0:40) [13:03:36:309]: PROPERTY CHANGE: Modifying ARCHIVEFOLDERDIR 
property. Its current value is 'C:\Documents and 
Settings\Administrator\Desktop\one'. Its new value: 'C:\Documents and 
Settings\Administrator\Desktop\one\'.


This is from my Maintenance dialog (where the user chooses to modify install):

Dialog Id=MaintenanceTypeDlg Width=370 Height=270 
Title=$(loc.MaintenanceTypeDlg_Title)
Control Id=ChangeButton Type=PushButton X=40 Y=65 Width=80 
Height=17 ToolTip=$(loc.MaintenanceTypeDlgChangeButtonTooltip) 
Default=yes Text=$(loc.MaintenanceTypeDlgChangeButton)
  Publish Property=WIXUI_INSTALLMODE Value=Change1/Publish
  !-- call custom action to initialize ARCHIVEFOLDERDIR to 
ARCHIVEEXISTS, because this is a modify,
  so the archive DOES exist, so use that pre-existing value --
  Publish Event=DoAction Value=initArchiveDirModify1/Publish  
(Here I am initializing ARCHIVEFOLDERDIR (my directory) to wherever the folder 
currently is, based on a registry key)
  Publish Property=ARCHIVEFOLDERDIREDIT 
Value=ARCHIVEFOLDERDIR1/Publish ARCHIVEFOLDERDIREDIT is my property linked 
to the pathEdit on the next dialog where the user chooses the path where they 
want this folder.
  Publish Event=NewDialog Value=archiveFolderDirDlg1/Publish
/Control


I can send any other information.

Any help would be very much appreciated!
Thanks,
Lindsay Harris
-
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] capturing text change event

2007-04-20 Thread Lindsay Harris
Bob, thanks so much for your response.  So I wonder, is there any way to force 
a refresh or redraw of a WIX dialog?

Thanks!
Lindsay

From: Bob Arnson [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 19, 2007 11:51 PM
To: Lindsay Harris
Cc: wix-users@lists.sourceforge.net; David Voskuil; Rajive Kumar
Subject: Re: [WiX-users] capturing text change event

Lindsay Harris wrote:
Is there any way to capture the text changed event for an Edit control.

No; MSI doesn't expose events on Edit controls. From the MSI doc:

The ControlEvent Tablecontrolevent_table.htm specifies the control events 
that are started when a user interacts with a PushButton 
Controlpushbutton_control.htm, CheckBox Controlcheckbox_control.htm, or 
SelectionTree Controlselectiontree_control.htm. These are the only controls 
that a user can use to initiate control events.

--

sig://boB

http://bobs.org
-
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] capturing text change event

2007-04-19 Thread Lindsay Harris
Hello,

Is there any way to capture the text changed event for an Edit control.

As an example,  lets say I wanted to enable the next button on a dialog, but 
only once the user has typed in a valid string in a text control.  I have found 
that I have to actually click off this text control in order for this button 
to become enabled.

Thanks in advance for any help,
Lindsay Harris
-
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] wix questions

2007-04-09 Thread Lindsay Harris
Hi Bob, thanks so much for your reply.

I should have said Active Directory browser showing computer accounts in a 
particular domain  So that was a no right?  I could probably write some kind 
of C++ CA

Thanks for your help!
Lindsay Harris

From: Bob Arnson [mailto:[EMAIL PROTECTED]
Sent: Saturday, April 07, 2007 9:31 AM
To: Lindsay Harris
Cc: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] wix questions

Lindsay Harris wrote:
Hello!  I was wondering, is there any kind of built in computer browsers in wix?

Depends on what you mean by computer browser. Network or file system? No on 
the former, kinda on the latter (WixUI's BrowseDlg).


I am spawning a dialog from another dialog.  (a popup yes/no).  If the user 
clicks one of the buttons, I would like to not only close this dialog and 
return to the parent dialog but go to the next dialog in sequence.  
(Essentially, exit this child dialog, and simulate a Next button click on the 
parent dialog).  I'm sure this is a simple thing but I can't figure out how to 
do it...

A spawned dialog can't close its parent but you might be able to set a property 
that the parent looks at when the spawned dialog returns.


--

sig://boB

http://bobs.org
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Help need on Registry element

2007-04-09 Thread Lindsay Harris
Hey Bala,

Unfortunately I have never done this, I am actually very new to WIX as well.  
It sounds reasonable though.  I would email the 
wix-users@lists.sourceforge.netmailto:wix-users@lists.sourceforge.net and ask 
them.

Lindsay

From: Bala Shanmugam (Excell Data Corporation)
Sent: Monday, April 09, 2007 12:37 PM
To: Lindsay Harris
Subject: RE: Help need on Registry element

Hi Lindsay,

Hope they have killed the devwix alias L L L. I am doing something more in sql 
installation using WIX.

Is it possible to pass input parameter to .sql file which is wrapped inside 
SqlScript element in WIX.

I am having a .sql file and some of the stored procedure inside the .sql needs 
input parameter to execute.

If you have any other way or solution to accomplish this, please let me know.

Thanks,
-Bala-



From: Lindsay Harris
Sent: Thursday, April 05, 2007 2:52 PM
To: Bala Shanmugam (Excell Data Corporation)
Subject: RE: Help need on Registry element

J

From: Bala Shanmugam (Excell Data Corporation)
Sent: Thursday, April 05, 2007 2:39 PM
To: Lindsay Harris
Subject: RE: Help need on Registry element

Lindsay, I am really sorry to disturb you often with my questions.

From: Lindsay Harris
Sent: Friday, March 30, 2007 10:35 AM
To: Bala Shanmugam (Excell Data Corporation)
Subject: RE: Help need on Registry element

Processor architecture refers to the architecture of your dev box.  _BuildArch 
refers to what kind of build you are doing...  so it depends on your 
requirements.l

From: Bala Shanmugam (Excell Data Corporation)
Sent: Thursday, March 29, 2007 5:50 PM
To: Lindsay Harris
Subject: RE: Help need on Registry element

Yes, I am able to see a lot.

I found PROCESSOR_ARCHITECTURE = x86.

So should I use this variable like $(evn.PROCESSOR_ARCHITECURE) =  ?

Thanks,
-Bala-

From: Lindsay Harris
Sent: Thursday, March 29, 2007 5:43 PM
To: Bala Shanmugam (Excell Data Corporation)
Subject: RE: Help need on Registry element

If you have a razzle build window open, you can type SET  and it will show 
you all the different environment variables and their values.

Lindsay

From: Bala Shanmugam (Excell Data Corporation)
Sent: Thursday, March 29, 2007 5:41 PM
To: Lindsay Harris
Subject: RE: Help need on Registry element

Yes, this is my requirement.

BTW how the $(evn._BuildArch) variable has the value of x86 or ia64?

Just in curiosity would like to know how the environment variables are accessed 
and where we can find the env variables?

Thanks a lot
-Bala-

From: Lindsay Harris
Sent: Thursday, March 29, 2007 5:26 PM
To: Bala Shanmugam (Excell Data Corporation)
Subject: RE: Help need on Registry element

Bala,

I'm not sure what you mean... do u mean that u want to conditionally set 
whether or not it is a 64bit component?

You can do that like this:

?xml version=1.0 encoding=UTF-8?

?if $(env._BuildArch) = x86 ?
  ?define Win64 = no ?
?elseif $(env._BuildArch) = ia64 ?
  ?define Win64 = yes ?
?elseif $(env._BuildArch) = amd64 ?
  ?define Win64 = yes ?
?endif?

Wix xmlns=http://schemas.microsoft.com/wix/2003/01/wi;

product .

package .

directory ...

  Component Id=someComponent DiskId=1 Guid=someGUID 
Win64=$(var.Win64)


And that way you are setting the Win64 attribute to a variable.

Is that what you mean?

Lindsay

From: Bala Shanmugam (Excell Data Corporation)
Sent: Thursday, March 29, 2007 5:11 PM
To: Lindsay Harris
Subject: RE: Help need on Registry element

Hi Lindsay,

I have another scenario with 64 bit VS 32 bit server.

Some of the servers are 64 bit and some of them are 32 bit.

So the component should support for both the bits 64  32.

Is it possible to have a condition saying even if its 64 or 32 bit OS, it needs 
to install?

I think I can add a condition above Registry  and it should be  OR  
condition either 64 or 32.

Do u have any samples on this how to perform the condition in this case?

Thanks,
-Bala-

From: Lindsay Harris
Sent: Thursday, March 29, 2007 1:31 PM
To: Bala Shanmugam (Excell Data Corporation)
Subject: RE: Help need on Registry element

Haha glad its working. J

From: Bala Shanmugam (Excell Data Corporation)
Sent: Thursday, March 29, 2007 12:42 PM
To: Lindsay Harris
Subject: RE: Help need on Registry element

It is working now Lindsay.

We need to say Win64=yes inside the component.

Great J

Thanks for your support. You are really great.

-Bala-

From: Lindsay Harris
Sent: Thursday, March 29, 2007 12:31 PM
To: Bala Shanmugam (Excell Data Corporation)
Subject: RE: Help need on Registry element

Is this Vista?  32 bit or 64 bit?

Did u double check to make sure it isn't going in HKCU/yourSID/software


From: Bala Shanmugam (Excell Data Corporation)
Sent: Thursday, March 29, 2007 12:25 PM
To: Lindsay Harris
Subject: RE: Help need on Registry element

Hi Lindsay,

It is NOT working. Also no sign of creating the folder Server in 
HKLM\SOFTWARE\Microsoft

Even I have referred some other files and examples and hope I am doing the 
correct thing but still

[WiX-users] wix questions

2007-04-06 Thread Lindsay Harris
Hello!  I was wondering, is there any kind of built in computer browsers in 
wix?  Or would this be a custom action?

Also, I have another question:
I am spawning a dialog from another dialog.  (a popup yes/no).  If the user 
clicks one of the buttons, I would like to not only close this dialog and 
return to the parent dialog but go to the next dialog in sequence.  
(Essentially, exit this child dialog, and simulate a Next button click on the 
parent dialog).  I'm sure this is a simple thing but I can't figure out how to 
do it...

Any help would be greatly appreciated!
Thanks!
Lindsay Harris


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] RE : acl a directory

2007-03-29 Thread Lindsay Harris
I am using version 2.  This is great information, thanks!  =)

Lindsay

-Original Message-
From: Justin Dearing [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 29, 2007 11:37 AM
To: Lindsay Harris; DevDiv WiX; wix-users@lists.sourceforge.net; David Voskuil
Subject: Fwd: [WiX-users] RE : acl a directory

-- Forwarded message --
From: Justin Dearing [EMAIL PROTECTED]
Date: Mar 29, 2007 2:33 PM
Subject: Re: [WiX-users] RE : acl a directory
To: Jacquet Fabian [EMAIL PROTECTED]


If this is WiX version 2 then adding the permission element by default
will remove the inherit parent ACLs from the folder. You have to add
the extended attribute. You also have to link wixca.lib into your MSI.

Example:
Directory Id=DB_FOLDER Name=database:
CreateFolder
!--
In order to inherit permissions you must link
wixca.lib into the msi and specify the
attribute Extended=yes
--
Permission User=Users Extended=yes
GenericRead=yes
GenericWrite=yes /
File Id=Database Name=example.mdb
Source=..\database\example.mdb /
/CreateFolder
/Directory

For WiX version 3 the rules are different. If you are using WiX
version 3 I would like to know how exactly you get this to work.

On 3/29/07, Jacquet Fabian [EMAIL PROTECTED] wrote:


 The tag Permission let you put ACL on a directory.
 You only can put this as child as CreateFolder tag.


 -Message d'origine-
 De : [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] De la part
 de Lindsay Harris
 Envoyé : jeudi 29 mars 2007 8:01
 À : DevDiv WiX; wix-users@lists.sourceforge.net
 Cc : David Voskuil
 Objet : [WiX-users] acl a directory




 Does anyone know if there is a simple way to acl a directory in WIX?  Or
 would this be a custom action call?



 Thanks!

 Lindsay Harris
 -
 Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net's Techsay panel and you'll get the chance to share your
 opinions on IT  business topics through brief surveys-and earn cash
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users



-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] acl a directory

2007-03-28 Thread Lindsay Harris
Does anyone know if there is a simple way to acl a directory in WIX?  Or would 
this be a custom action call?

Thanks!
Lindsay Harris
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] public properties, saving state

2007-03-22 Thread Lindsay Harris
Hi,

I was wondering, is there a certain way to define a public property so that 
whatever value u give it on install for example, will still be there when u 
initiate a repair, or modify, or uninstall.

For example, this is how I define a public property:
Property Id=ARCHIVEFOLDERDIREDIT Value=someValue/Property


Is this expected behavior and I am doing something wrong?

Any advice would be appreciated,
Thanks,
Lindsay Harris
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] public properties, saving state

2007-03-22 Thread Lindsay Harris
Hi Chris, thanks for your reply, I have already started implementing it that 
way, I guess I was hoping there was a more elegant solution.

Thanks,
Lindsay

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 22, 2007 11:23 AM
To: Lindsay Harris; wix-users@lists.sourceforge.net
Subject: RE: [WiX-users] public properties, saving state

I don't know if the functionality you're thinking of exists, but alternatively 
you could set the property based on a registry entry you set during 
installation.

Chris


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Lindsay Harris
Sent: Thursday, March 22, 2007 1:33 PM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] public properties, saving state

Hi,

I was wondering, is there a certain way to define a public property so that 
whatever value u give it on install for example, will still be there when u 
initiate a repair, or modify, or uninstall.

For example, this is how I define a public property:
Property Id=ARCHIVEFOLDERDIREDIT Value=someValue/Property


Is this expected behavior and I am doing something wrong?

Any advice would be appreciated,
Thanks,
Lindsay Harris
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] com registration on VISTA

2007-03-12 Thread Lindsay Harris
Hi, I have a COM component I am trying to register using wix.  I am using this 
type of syntax:
.
.
.
Registry Id=_64B01B48C18D4FF0A3C8E04A3ACF1587 Root=HKLM 
Key=SYSTEM\CurrentControlSet\Services\EventLog\Application\AGPM 
Name=EventMessageFile Type=string Value=[!agpm.dll] /
Registry Id=_CDC6619003BB4EE08D261CD9590C74FC Root=HKLM 
Key=SYSTEM\CurrentControlSet\Services\EventLog\Application\AGPM 
Name=ParameterMessageFile Type=string Value=[!agpm.dll] /
Registry Id=_7D1654486E05440BBCADA33759479924 Root=HKLM 
Key=SYSTEM\CurrentControlSet\Services\EventLog\Application\AGPM 
Name=TypesSupported Type=integer Value=7 /
AppId Id=someAPPID Advertise=no
  Class Id= someGUID  Context=InprocServer32 
Description=apmAboutItemExGpo Class Advertise=no Server=agpm.dll
ProgId Id=agpm.apmAboutItemExGpo.1 
Description=apmAboutItemExGpo Class
  ProgId Id=agpm.apmAboutItemExGpo 
Description=apmAboutItemExGpo Class /
/ProgId
  /Class
.
.
.
  Class Id=someGUID Context=InprocServer32 
Description=apmComponentData Class Advertise=no Server=agpm.dll
ProgId Id=agpm.apmComponentData.1 
Description=apmComponentData Class
  ProgId Id=agpm.apmComponentData 
Description=apmComponentData Class /
/ProgId
  /Class
/AppId
TypeLib Id=someGUID Language=0 MajorVersion=256 
MinorVersion=0 Description=Policy Manager Type Library 
HelpDirectory=dirClient Cost=1 /


This works great on WS03 and NOT AT ALL on Vista.

Has anyone else ran into this problem?

Doing a manual regsvr32 works fine on my component, I wonder if I should just 
enter all the registry entries manually instead of using the class, typelib 
and AppID tables.

Any help would be appreciated,
Thanks!
Lindsay Harris
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] dialog re-paint issue

2007-03-06 Thread Lindsay Harris
Hello all!

I am seeing some strange paint issues in my wix dialogs and I was just 
wondering if maybe anyone else has seen this problem.  I am using the built in 
WelcomeEulaDialog.wxs and the EULA doesn't show up until you repaint the dialog 
in some way (scroll, minimize it..etc).

Also, in some of my other custom dialogs when the user types in any of the text 
fields you see the hourglass mouse pointer.

Has anyone seen this before or is there a way to force refresh on my dialogs?

Thanks!!

Lindsay
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] starting service on install

2007-03-03 Thread Lindsay Harris
Hi Bob, thanks for your reply.  I am not installing anything into the GAC, and 
I tried scheduling my start services CA for right before InstallFinalize.

InstallExecuteSequence
  StartServices Sequence='6510'/StartServices
/InstallExecuteSequence

But I am still getting the error.
This is what my service looks like:

  Component Id=agpmEXEComponent DiskId=1 
Guid={5A13C065-C402-4cc0-8336-FFB6D7CCF0F8} Location='local'
File Id=AgpmEXE Name=Agpm.exe src=$(var.BINDIR)\Agpm.exe 
Vital=yes KeyPath=yes /
ServiceControl Id=AgpmEXE Name=AgpmEXEInstall Stop=uninstall  
Remove=uninstall Start=install /
ServiceInstall Id=AgpmEXE Name=Agpm Service Start=auto  
ErrorControl=normal  Type=ownProcess
   Description=Advanced Group Policy Management 
Service Account=[DS_NET_API_LOGON_USERNAME]
Password=[IS_NET_API_LOGON_PASSWORD] /
Registry Root=HKLM Key=Software\Microsoft\Agpm Type=string 
Name=ArchiveOwner Value=[SID] /
  /Component

Any other ideas would be very appreciated.

Thanks!
Lindsay Harris

From: Bob Arnson [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 01, 2007 8:07 AM
To: Lindsay Harris
Cc: wix-users@lists.sourceforge.net; Bryan Garretson; Reid Gustin; Rajive Kumar
Subject: Re: [WiX-users] starting service on install

Lindsay Harris wrote:
I have a service I am installing (that part is working fine), but when I try to 
start it on install I am getting a Error 1920. Service 'AgpmEXEInstall' 
(AgpmEXEInstall) failed to start.  Verify that you have sufficient privileges 
to start system services. error.  However when I start it manually after 
install it starts up fine.

That is frequently caused by the service executable having dependencies that 
aren't satisfied by the time during the installation that StartServices is run. 
For example, is the service managed and dependent on assemblies installed to 
the GAC? That won't work, as GAC'd assemblies are committed very late in the 
install.



--

sig://boB

http://bobs.org
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] simple question

2007-03-02 Thread Lindsay Harris
Hi.  This is probably a really stupid question but I am very new to wix...

I was wondering if there is away to do this:

If (a == b)
C = some string
Else
C = some other string


Under the product element (in other words I am not in a control or dialog).

I have been trying stuff like this but it doesn't compile:

Property Id=is20
  ![CDATA[MsiNetAssemblySupport = 2.0.50727]]
/Property

?if [is20]?
  Property Id=URT_VER Value=2.0 /
?else?
  Property Id=URT_VER Value=1.1 /
?endif?


Any help would be appreciated!!
Thanks!
Lindsay Harris
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] starting service on install

2007-02-28 Thread Lindsay Harris
Hi!

I have a service I am installing (that part is working fine), but when I try to 
start it on install I am getting a Error 1920. Service 'AgpmEXEInstall' 
(AgpmEXEInstall) failed to start.  Verify that you have sufficient privileges 
to start system services. error.  However when I start it manually after 
install it starts up fine.  I have tried installing the service to run as Local 
system and as an Administrator user on the machine.  I am logged on as a Domain 
admin on a win2k3 r2 DC.  Here is my code snippet:

Component Id=agpmEXEComponent DiskId=1 Guid={my guid here} 
Location='local'
File Id=AgpmEXE Name=Agpm.exe src=$(var.BINDIR)\Agpm.exe 
Vital=yes KeyPath=yes /
ServiceControl Id=AgpmEXE Name=AgpmEXEInstall 
Stop=uninstall  Remove=uninstall Start=install /
ServiceInstall Id=AgpmEXE Name=Agpm Service Start=auto  
ErrorControl=normal  Type=ownProcess
Description=Advanced Group Policy Management 
Service Account=[DS_NET_API_LOGON_USERNAME]
Password=[IS_NET_API_LOGON_PASSWORD] /
 /Component


The Account and Password are input from the user in a dialog, before I try to 
start my service.

I am not sure if this is wix specific, or some kind of windows installer bug.

Any input would b very helpful,

Thanks!
Lindsay Harris
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Com registration using tallow

2007-02-19 Thread Lindsay Harris
Mike, thanks so much for the reply, your response helped push me in the right 
direction.

You are correct I did mean a regular old COM component.

Thanks!
Lindsay Harris




From: Mike Dimmick [mailto:[EMAIL PROTECTED]
Sent: Monday, February 19, 2007 1:28 PM
To: Lindsay Harris; wix-users@lists.sourceforge.net
Cc: Rajive Kumar
Subject: RE: [WiX-users] Com registration using tallow

I'm assuming that you actually mean a regular old COM component written with 
ATL, rather than 'COM Interop' which to me means a .NET component registered 
with COM.

tallow -c is for use with .NET assemblies. It won't work with unmanaged 
components.

tallow -reg is for use with REGEDIT-style .reg files. An ATL .rgs file is not 
compatible.

tallow -s is what you use to deal with legacy COM components which use 
self-registration - it sets up 'canary' registry keys then calls the DLL's 
DllRegisterServer function, then records the result. However, this is somewhat 
of an alien environment - the canary keys are completely empty, which means 
that various things don't work. All you can do is debug the component under 
tallow (i.e. set the executable to debug to be tallow.exe itself, passing the 
DLL on the command line - you want native, not managed, debugging).

Tallow is meant to be an assistant. For components written in C++, you have 
absolute control over what the self-registration code does. If you've not 
altered Visual Studio's template code, you can probably work out the right 
registry entries from the IDL and .rgs file. The Class and Typelib elements 
make the work a bit easier. I would suggest setting @Advertise=no so that WiX 
generates Registry table entries, rather than using the Class and Typelib table 
(the latter of which is deprecated in any case). You'll need to understand 
tallow's output to maintain it anyway.

--
Mike Dimmick


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Lindsay Harris
Sent: 13 February 2007 23:42
To: wix-users@lists.sourceforge.net
Cc: Rajive Kumar
Subject: [WiX-users] Com registration using tallow

Hi, I have a question about using wix to author an installer package.
I am trying to register a com interop, from all of the reading I have done I 
understand that I shouldn't use AssemblyRegisterComInterop=yes and I 
shouldn't call a custom action that uses regsvr32.
So what I SHOULD do if I understand correctly, is use tallow.exe to extract the 
specific registration and then include that in my wix xml file.  However, I am 
having some problems using tallow.

I have tried:  tallow -c myAssembly.dll, but I get a Failed to load Assembly,  
System.BadImageFormatException.
I have also tried:  tallow -s myAssembly.dll to try to get the registry keys 
but I then get a Failed to SelfReg error.  (which is strange because I can 
manually use regsvr32 to register it on this same machine).

I have also tried tallow - reg myRegFile.rgs, but I then just get an empty wix 
fragment, which is strange because the rgs file is not empty.

Any advice as to what I'm doing wrong, or where I should go from here would be 
greatly appreciated,
Thanks!
Lindsay Harris
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Com registration using tallow

2007-02-13 Thread Lindsay Harris
Hi, I have a question about using wix to author an installer package.
I am trying to register a com interop, from all of the reading I have done I 
understand that I shouldn't use AssemblyRegisterComInterop=yes and I 
shouldn't call a custom action that uses regsvr32.
So what I SHOULD do if I understand correctly, is use tallow.exe to extract the 
specific registration and then include that in my wix xml file.  However, I am 
having some problems using tallow.

I have tried:  tallow -c myAssembly.dll, but I get a Failed to load Assembly,  
System.BadImageFormatException.
I have also tried:  tallow -s myAssembly.dll to try to get the registry keys 
but I then get a Failed to SelfReg error.  (which is strange because I can 
manually use regsvr32 to register it on this same machine).

I have also tried tallow - reg myRegFile.rgs, but I then just get an empty wix 
fragment, which is strange because the rgs file is not empty.

Any advice as to what I'm doing wrong, or where I should go from here would be 
greatly appreciated,
Thanks!
Lindsay Harris
-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users