Re: [WiX-users] regasm in wix?

2006-12-15 Thread Erv Walter
You need to fill in the Registry table with the appropriate values.  You
can use either ProgId, Class  Co. (which will fill in the Registry
table behind the scenes when advertisement is turned off) or you can
directly use Registry elements.   Note, there is a good chance that as a
.NET COM DLL you'll have a couple extra registry keys that need to be
set beyond just what the ProgId and Class elements setup for you. 

If you are not sure what registry keys need tbe set, you can either use
tallow to generate a fragment from your DLL and take a look at that, or
you can use 'regasm /tlb /reg PATH.TO.commandlib.dll' to create a
PATH.TO.commandlib.reg file which you can look at with a text editor to
understand what needs to be set.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Christer
Solskogen
Sent: Friday, December 15, 2006 12:28 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] regasm in wix?

Our application requires that one dll is registert using regasm. How do
I do that in wix3? I was under the impression that just using Typelib
... would do it, but with the handful of things I tried I did not get
it to work.

Component Id='CommandLib' Guid='a349abc4-1832-4168-a84e-e952ac0fa09f' 
DiskId='1'
File Id='commandlib_dll' Name='CommandLib.dll' 
Source='$(var.ReleaseDir)/CommandLib.dll' Assembly='.net' 
AssemblyRegisterComInterop='yes' KeyPath='yes'  TypeLib
Id='23C76A21-7AEB-439c-BF85-700079E0E220' Language='1033' 
MajorVersion='1' MinorVersion='0'/
/File
/Component

Any pointers please?

The command I need it to run is regasm /tlb PATH.TO.commandlib.dll?

--
chs



-
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=DEVDE
V
___
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


Re: [WiX-users] regasm in wix?

2006-12-15 Thread Wilson, Phil
If you want this assembly registered for COM interop the /tlb option by
itself is insufficient. Using full regasm on an assembly does two main
things:
1. Registers the class entries and sets the InprocServer32 to
mscoree.dll. 
2. Registers a type library. 

Just using the /tlb option does not do 1. 

You can see what 1. does by using regasm with the /regfile option (and
the /regfile option does not do 2). There are a couple of choices for 2.
Some just generate a type library (tlbexp.exe) and register it via the
type library table. Alternatively, use the Registry table to get all the
HKCR\Interface and TypeLibrary entries on the system.

Phil Wilson 


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Erv Walter
Sent: Friday, December 15, 2006 7:49 AM
To: Christer Solskogen; wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] regasm in wix?

You need to fill in the Registry table with the appropriate values.  You
can use either ProgId, Class  Co. (which will fill in the Registry
table behind the scenes when advertisement is turned off) or you can
directly use Registry elements.   Note, there is a good chance that as a
.NET COM DLL you'll have a couple extra registry keys that need to be
set beyond just what the ProgId and Class elements setup for you. 

If you are not sure what registry keys need tbe set, you can either use
tallow to generate a fragment from your DLL and take a look at that, or
you can use 'regasm /tlb /reg PATH.TO.commandlib.dll' to create a
PATH.TO.commandlib.reg file which you can look at with a text editor to
understand what needs to be set.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Christer
Solskogen
Sent: Friday, December 15, 2006 12:28 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] regasm in wix?

Our application requires that one dll is registert using regasm. How do
I do that in wix3? I was under the impression that just using Typelib
... would do it, but with the handful of things I tried I did not get
it to work.

Component Id='CommandLib' Guid='a349abc4-1832-4168-a84e-e952ac0fa09f' 
DiskId='1'
File Id='commandlib_dll' Name='CommandLib.dll' 
Source='$(var.ReleaseDir)/CommandLib.dll' Assembly='.net' 
AssemblyRegisterComInterop='yes' KeyPath='yes'  TypeLib
Id='23C76A21-7AEB-439c-BF85-700079E0E220' Language='1033' 
MajorVersion='1' MinorVersion='0'/
/File
/Component

Any pointers please?

The command I need it to run is regasm /tlb PATH.TO.commandlib.dll?

--
chs



-
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=DEVDE
V
___
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=DEVDE
V
___
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] Verify user?

2006-12-15 Thread Matthew Janulewicz
We're using Wix 3. One of our installers installs a service, but it may
run under different users in different environments. The installer will
prompt the user for the domain, username and password to apply during
the ServiceInstall step.

 

However, if they enter in an invalid user or password the installer just
sort of uninstalls itself and stops. Is there a way to verify a
domain/user/password is valid before ServiceInstall fires off? 

 

--

Matthew Janulewicz

SCM Engineer

Green Dot Corporation

[EMAIL PROTECTED]

(626) 775-3857

-
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] zip program for bootstrapper msi

2006-12-15 Thread John Vottero
Ok, I looked into the details because this is working for us.  We use
IExpress to compress everything into a single executable.  You probably
already have IExpress, I believe that it's part of IE.  IExpress lets
you specify a setup command (AppLaunched) and a post install command
(PostInstallCmd).  We run the MSBuild/GenerateBootstrapper with
AppLaunched and we run our bootstrapper/installer with the
PostInstallCmd.
 
The things I don't like about IExpress are:
- Command line support is weak
- You can't change the executable's Icon
- You can't change the executable's tooltip description
- You can't change the executable's version




From: David Thielen [mailto:[EMAIL PROTECTED] 
Sent: Friday, December 15, 2006 1:18 PM
To: John Vottero; wix-users@lists.sourceforge.net
Subject: RE: [WiX-users] zip program for bootstrapper  msi



The only problem is it's Microsoft's bootstrapper from
MSBuild/GenerateBootstrapper so I have no control over that.

 

Thanks - dave

 

 

 

David Thielen

www.windwardreports.com

303-499-2544 x1185

 

Cubicle Wars - http://www.windwardreports.com/film.htm





From: John Vottero [mailto:[EMAIL PROTECTED] 
Sent: Friday, December 15, 2006 8:19 AM
To: David Thielen; wix-users@lists.sourceforge.net
Subject: RE: [WiX-users] zip program for bootstrapper  msi

 

I don't think your bootstrapper should exit until the msi is
done installing.

 





From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of David
Thielen
Sent: Friday, December 15, 2006 2:16 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] zip program for bootstrapper  msi

Hi;

 

Can anyone suggest one to use to unzip the 2 files and
then launch the bootstrapper?

*   Winzip won't work because it deletes the
unzipped file as soon as the first exists - so the msi will be deleted
when the bootstrapper completes and spawns it. 
*   Chilkat doesn't run will in a build script (file
is still locked when it returns, can't set the caption or icon). 

 

??? - thanks - dave

 

 

 

David Thielen

www.windwardreports.com

303-499-2544 x1185

 

Cubicle Wars - http://www.windwardreports.com/film.htm

 

-
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] zip program for bootstrapper msi

2006-12-15 Thread David Thielen
Same issues we have with Chilkat - caption, icon,  version (I forgot
about that). So looks like we both are at the same point.

 

Thanks - dave

 

 

 

David Thielen

www.windwardreports.com

303-499-2544 x1185

 

Cubicle Wars - http://www.windwardreports.com/film.htm



From: John Vottero [mailto:[EMAIL PROTECTED] 
Sent: Friday, December 15, 2006 11:49 AM
To: David Thielen; wix-users@lists.sourceforge.net
Subject: RE: [WiX-users] zip program for bootstrapper  msi

 

Ok, I looked into the details because this is working for us.  We use
IExpress to compress everything into a single executable.  You probably
already have IExpress, I believe that it's part of IE.  IExpress lets
you specify a setup command (AppLaunched) and a post install command
(PostInstallCmd).  We run the MSBuild/GenerateBootstrapper with
AppLaunched and we run our bootstrapper/installer with the
PostInstallCmd.

 

The things I don't like about IExpress are:

- Command line support is weak

- You can't change the executable's Icon

- You can't change the executable's tooltip description

- You can't change the executable's version

 





From: David Thielen [mailto:[EMAIL PROTECTED] 
Sent: Friday, December 15, 2006 1:18 PM
To: John Vottero; wix-users@lists.sourceforge.net
Subject: RE: [WiX-users] zip program for bootstrapper  msi

The only problem is it's Microsoft's bootstrapper from
MSBuild/GenerateBootstrapper so I have no control over that.

 

Thanks - dave

 

 

 

David Thielen

www.windwardreports.com

303-499-2544 x1185

 

Cubicle Wars - http://www.windwardreports.com/film.htm





From: John Vottero [mailto:[EMAIL PROTECTED] 
Sent: Friday, December 15, 2006 8:19 AM
To: David Thielen; wix-users@lists.sourceforge.net
Subject: RE: [WiX-users] zip program for bootstrapper  msi

 

I don't think your bootstrapper should exit until the msi is
done installing.

 





From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of David
Thielen
Sent: Friday, December 15, 2006 2:16 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] zip program for bootstrapper  msi

Hi;

 

Can anyone suggest one to use to unzip the 2 files and
then launch the bootstrapper?

*   Winzip won't work because it deletes the
unzipped file as soon as the first exists - so the msi will be deleted
when the bootstrapper completes and spawns it. 
*   Chilkat doesn't run will in a build script (file
is still locked when it returns, can't set the caption or icon). 

 

??? - thanks - dave

 

 

 

David Thielen

www.windwardreports.com

303-499-2544 x1185

 

Cubicle Wars - http://www.windwardreports.com/film.htm

 

-
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] zip program for bootstrapper msi

2006-12-15 Thread David Thielen
I took a look at 7Z but according to it's docs it doesn't even have 
self-extracting zips.

Thanks - dave

 
 
David Thielen
www.windwardreports.com
303-499-2544 x1185
 

Cubicle Wars - http://www.windwardreports.com/film.htm 


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of André Pönitz
Sent: Friday, December 15, 2006 1:40 AM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] zip program for bootstrapper  msi

 Can anyone suggest one to use to unzip the 2 files and then 
 launch the bootstrapper?

I'd try 7z.

Andre'

-
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] Wix Silent Installation - arument validation

2006-12-15 Thread nikhil more
Hi,
   
  I am using a Wix installer. Generally from command promt I run following 
command...
   
  msiexec /qn /i AgentSetup.msi TARGETDIR=D:\Agent\Install FIRSTBACKUP=0 
REBOOT=R OPENFILEHANDLER=0 EMAILADDRESS=[EMAIL PROTECTED] 
PASSWORD=1connected /log log.txt
   
  We have a following condition mentioned in WXS file which take care of BLANK 
entry of argument like PASSWORD...
   
  Condition Message='$(loc.UndefinedByCommandLine)'![CDATA[Installed OR 
INSTALLED7XAGENT OR (EMAILADDRESS0 AND EMAILADDRESS AND PASSWORD0 AND 
PASSWORD)]]/Condition
   
  But what i want to do is, validate the PASSWORD string. My reuirement is that 
PASSWORD should not be BLANK as well as should not be less than 6 character in 
length.
   
  Could anyone please guilde me on how to do this?... 
   
  Thanks in advance!
   
  Regards,
  Nikhil More

 __
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com -
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] zip program for bootstrapper msi

2006-12-15 Thread Rob MacFadyen
The ChilKat ZipToSecureExe is a _demo_ of their commercial ZIP component. 
 
The commercial zip component allows for lots of things that are not part of
the free demo. Here's a link to the docs:
http://www.chilkatsoft.com/refdoc/xChilkatZip2Ref.html
 
Of specific interest: Changing icon, changing unzip directory.
 
On whole I found it a worthwhile purchase, and inexpensive at
$149/developer.
 
For version # updating you can do this yourself... but you'll need to
investigate opening and writing resource sections in an EXE. I _know_ it can
be done with system calls from C/C++... I just can't recall the reference
(somewhere in msdn... maybe near/around PE File Format?). A quick google on
write version resource in exe also turned up this tool which seems to be
exactly what you need:
http://www.heaventools.com/command-line_resource_editor.htm
 
The $199 price seems a bit high... but if you don't want to spend a couple
of days mucking around with C/C++ then it's a steal.
 
Regards,
 
Rob

  _  

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of David Thielen
Sent: Friday, December 15, 2006 2:04 PM
To: John Vottero; wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] zip program for bootstrapper  msi



Same issues we have with Chilkat - caption, icon,  version (I forgot about
that). So looks like we both are at the same point.

 

Thanks - dave

 

 

 

David Thielen

www.windwardreports.com

303-499-2544 x1185

 

Cubicle Wars - http://www.windwardreports.com/film.htm

  _  

From: John Vottero [mailto:[EMAIL PROTECTED] 
Sent: Friday, December 15, 2006 11:49 AM
To: David Thielen; wix-users@lists.sourceforge.net
Subject: RE: [WiX-users] zip program for bootstrapper  msi

 

Ok, I looked into the details because this is working for us.  We use
IExpress to compress everything into a single executable.  You probably
already have IExpress, I believe that it's part of IE.  IExpress lets you
specify a setup command (AppLaunched) and a post install command
(PostInstallCmd).  We run the MSBuild/GenerateBootstrapper with AppLaunched
and we run our bootstrapper/installer with the PostInstallCmd.

 

The things I don't like about IExpress are:

- Command line support is weak

- You can't change the executable's Icon

- You can't change the executable's tooltip description

- You can't change the executable's version

 


  _  


From: David Thielen [mailto:[EMAIL PROTECTED] 
Sent: Friday, December 15, 2006 1:18 PM
To: John Vottero; wix-users@lists.sourceforge.net
Subject: RE: [WiX-users] zip program for bootstrapper  msi

The only problem is it's Microsoft's bootstrapper from
MSBuild/GenerateBootstrapper so I have no control over that.

 

Thanks - dave

 

 

 

David Thielen

www.windwardreports.com

303-499-2544 x1185

 

Cubicle Wars - http://www.windwardreports.com/film.htm


  _  


From: John Vottero [mailto:[EMAIL PROTECTED] 
Sent: Friday, December 15, 2006 8:19 AM
To: David Thielen; wix-users@lists.sourceforge.net
Subject: RE: [WiX-users] zip program for bootstrapper  msi

 

I don't think your bootstrapper should exit until the msi is done
installing.

 


  _  


From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of David Thielen
Sent: Friday, December 15, 2006 2:16 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] zip program for bootstrapper  msi

Hi;

 

Can anyone suggest one to use to unzip the 2 files and then launch the
bootstrapper?

*   Winzip won't work because it deletes the unzipped file as soon as
the first exists - so the msi will be deleted when the bootstrapper
completes and spawns it. 

*   Chilkat doesn't run will in a build script (file is still locked
when it returns, can't set the caption or icon). 

 

??? - thanks - dave

 

 

 

David Thielen

www.windwardreports.com

303-499-2544 x1185

 

Cubicle Wars - http://www.windwardreports.com/film.htm

 

-
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] zip program for bootstrapper msi

2006-12-15 Thread Rob Mensching
$149 and $199?  Wow, I wonder what we could charge for the WiX toolset.  
smile/

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Rob MacFadyen
Sent: Friday, December 15, 2006 12:09
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] zip program for bootstrapper  msi

The ChilKat ZipToSecureExe is a _demo_ of their commercial ZIP component.

The commercial zip component allows for lots of things that are not part of the 
free demo. Here's a link to the docs:
http://www.chilkatsoft.com/refdoc/xChilkatZip2Ref.html

Of specific interest: Changing icon, changing unzip directory.

On whole I found it a worthwhile purchase, and inexpensive at $149/developer.

For version # updating you can do this yourself... but you'll need to 
investigate opening and writing resource sections in an EXE. I _know_ it can be 
done with system calls from C/C++... I just can't recall the reference 
(somewhere in msdn... maybe near/around PE File Format?). A quick google on 
write version resource in exe also turned up this tool which seems to be 
exactly what you need:
http://www.heaventools.com/command-line_resource_editor.htm

The $199 price seems a bit high... but if you don't want to spend a couple of 
days mucking around with C/C++ then it's a steal.

Regards,

Rob


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of David Thielen
Sent: Friday, December 15, 2006 2:04 PM
To: John Vottero; wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] zip program for bootstrapper  msi
Same issues we have with Chilkat - caption, icon,  version (I forgot about 
that). So looks like we both are at the same point.

Thanks - dave



David Thielen
www.windwardreports.comhttp://www.windwardreports.com
303-499-2544 x1185

Cubicle Wars - http://www.windwardreports.com/film.htm

From: John Vottero [mailto:[EMAIL PROTECTED]
Sent: Friday, December 15, 2006 11:49 AM
To: David Thielen; wix-users@lists.sourceforge.net
Subject: RE: [WiX-users] zip program for bootstrapper  msi

Ok, I looked into the details because this is working for us.  We use IExpress 
to compress everything into a single executable.  You probably already have 
IExpress, I believe that it's part of IE.  IExpress lets you specify a setup 
command (AppLaunched) and a post install command (PostInstallCmd).  We run the 
MSBuild/GenerateBootstrapper with AppLaunched and we run our 
bootstrapper/installer with the PostInstallCmd.

The things I don't like about IExpress are:
- Command line support is weak
- You can't change the executable's Icon
- You can't change the executable's tooltip description
- You can't change the executable's version


From: David Thielen [mailto:[EMAIL PROTECTED]
Sent: Friday, December 15, 2006 1:18 PM
To: John Vottero; wix-users@lists.sourceforge.net
Subject: RE: [WiX-users] zip program for bootstrapper  msi
The only problem is it's Microsoft's bootstrapper from 
MSBuild/GenerateBootstrapper so I have no control over that.

Thanks - dave



David Thielen
www.windwardreports.comhttp://www.windwardreports.com
303-499-2544 x1185

Cubicle Wars - http://www.windwardreports.com/film.htm

From: John Vottero [mailto:[EMAIL PROTECTED]
Sent: Friday, December 15, 2006 8:19 AM
To: David Thielen; wix-users@lists.sourceforge.net
Subject: RE: [WiX-users] zip program for bootstrapper  msi

I don't think your bootstrapper should exit until the msi is done installing.


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of David Thielen
Sent: Friday, December 15, 2006 2:16 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] zip program for bootstrapper  msi
Hi;

Can anyone suggest one to use to unzip the 2 files and then launch the 
bootstrapper?

 *   Winzip won't work because it deletes the unzipped file as soon as the 
first exists - so the msi will be deleted when the bootstrapper completes and 
spawns it.
 *   Chilkat doesn't run will in a build script (file is still locked when it 
returns, can't set the caption or icon).

??? - thanks - dave



David Thielen
www.windwardreports.comhttp://www.windwardreports.com
303-499-2544 x1185

Cubicle Wars - http://www.windwardreports.com/film.htm

-
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] Congo - Elections Offer Little Alternative - Worldpress.

2006-12-15 Thread spokesperson

The company provided monetary and logistical support to the F. We offer only 
products we use or would use ourselves, we offer them at fair prices, and we 
guarantee them without condition. But for Aruntx Publishing Company, www. 
Please contact your system administrator to report this fault. Aretha Franklin 
life story to tour U.
US Online Store Featuring Downeys Irish Whiskey Cake, Quality Aruntx Software 
and more.
Listen to Motown Memories anywhere in the world with genuine Aruntx iPodcast 
Entertainment Syndication.

discrepancy.gif
Description: GIF image
-
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] Using WiX Extensions

2006-12-15 Thread Rob Mensching
Here's an example of using the NetFx extension in WiX v2:

candle.exe -ext 
Microsoft.Tools.WindowsInstallerXml.Extensins.NetFxCompiler,WixNetFxExtension 
my.wxs


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Agustín K-ballo 
Bergé
Sent: Thursday, December 14, 2006 16:57
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Using WiX Extensions

Hi everyone,

I have been trying for a while to use an extension ( ANY extension ) at
compile time, but all I get is candle.exe : fatal error CNDL0036: Could
not find extension '[ExtensionNameHere]'.. Could someone with
experience please tell me if there is some other step than adding the
-ext param at the command line? (Yes, the working directory is the
toolset one, and yes, the extensions dll are there)

K-ballo.-



-
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


Re: [WiX-users] Verify user?

2006-12-15 Thread Rob Mensching
No difference that I know of.  That's a built-in MSI action.  A verbose log 
file should be able to show you more details about why it isn't installing.

-Original Message-
From: Matthew Janulewicz [mailto:[EMAIL PROTECTED]
Sent: Friday, December 15, 2006 14:57
To: Joe Kaplan; Rob Mensching; wix-users@lists.sourceforge.net
Subject: RE: [WiX-users] Verify user?

As a follow-up question, is there a difference in how this action
(ServiceInstall) acts in an XP environment vs Windows 2k3? The installer
I've developed on XP seems to install the service just fine in the dev
environment, but when I take the same installer over to a 2003 server it
seems to mostly skip that part altogether. It does write the registry
entries I would expect, but even a reboot of the 2003 server will not
get it to 'pop' into the services list. Any ideas? My code snippet looks
like this:

ServiceInstall Id=DomainTestService
Account=[SERVICE_DOMAIN]\[SERVICE_USER]
Description=TestService
DisplayName=TestService
ErrorControl=ignore
Interactive=no
Name=TestService.exe
Password=SERVICE_PASSWORD
Start=auto
Type=ownProcess /
ServiceControl Id=DomainServiceControl
Name=TestService.exe
Stop=uninstall
Remove=uninstall /

Earlier in the component I have the .exe set as a keyfile, etc. As I
said it works just fine on XP, seems to not work on 2K3.

Note that I do not want the service to start upon install, so I left the
'Start' key out of the ServiceControl item. Is this okay to do?


-Matt


-Original Message-
From: Joe Kaplan [mailto:[EMAIL PROTECTED]
Sent: Friday, December 15, 2006 2:16 PM
To: Rob Mensching; Matthew Janulewicz; wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Verify user?

I think you'd also need to check to see if the authenticated user has at

minimum log on as a service privilege.  It might not.  The service
could
still fail to start due to other ACL problems, so all in all, it is a
pretty
difficult thing to get 100%.

A custom action that does LogonUser would at least validate the
credentials
though.

Perhaps that could be added as a feature request for the service control
CA
stuff?  Add a ValidateCredentials attribute or something...

The privilege thing reminds me that it would be cool to have local
security
policy changes to handle things like user rights assignment as a CA in
WiX
(log on as service, act as part of the operating system, etc.).  Another

feature request.  :)

Joe K.

- Original Message -
From: Rob Mensching
To: Matthew Janulewicz ; wix-users@lists.sourceforge.net
Sent: Friday, December 15, 2006 12:13 PM
Subject: Re: [WiX-users] Verify user?


You'd need a CustomAction to try to logon that user (or something to
verify
it is a valid user/password).  There isn't anything in the WiX toolset
for
that today, but it'd be cool if there was.

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Matthew
Janulewicz
Sent: Friday, December 15, 2006 09:48
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Verify user?

We're using Wix 3. One of our installers installs a service, but it may
run
under different users in different environments. The installer will
prompt
the user for the domain, username and password to apply during the
ServiceInstall step.

However, if they enter in an invalid user or password the installer just

sort of uninstalls itself and stops. Is there a way to verify a
domain/user/password is valid before ServiceInstall fires off?

--
Matthew Janulewicz
SCM Engineer
Green Dot Corporation
[EMAIL PROTECTED]
(626) 775-3857




-
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=DEVDE
V



___
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


Re: [WiX-users] zip program for bootstrapper msi

2006-12-15 Thread David Thielen
Correct me if I'm wrong - I looked at this approach. But what they sell
is a dll so I then have to write a program that uses that dll to create
the exe program. If they had a command line program that did this I'ld
happily pay $199.00 * 3 (2 dev, I build system) for this.

 

Thanks - dave

 

 

David Thielen

www.windwardreports.com

303-499-2544 x1185

 

Cubicle Wars - http://www.windwardreports.com/film.htm



From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Rob
MacFadyen
Sent: Friday, December 15, 2006 1:09 PM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] zip program for bootstrapper  msi

 

The ChilKat ZipToSecureExe is a _demo_ of their commercial ZIP
component. 

 

The commercial zip component allows for lots of things that are not part
of the free demo. Here's a link to the docs:

http://www.chilkatsoft.com/refdoc/xChilkatZip2Ref.html

 

Of specific interest: Changing icon, changing unzip directory.

 

On whole I found it a worthwhile purchase, and inexpensive at
$149/developer.

 

For version # updating you can do this yourself... but you'll need to
investigate opening and writing resource sections in an EXE. I _know_ it
can be done with system calls from C/C++... I just can't recall the
reference (somewhere in msdn... maybe near/around PE File Format?). A
quick google on write version resource in exe also turned up this tool
which seems to be exactly what you need:

http://www.heaventools.com/command-line_resource_editor.htm

 

The $199 price seems a bit high... but if you don't want to spend a
couple of days mucking around with C/C++ then it's a steal.

 

Regards,

 

Rob

 



From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of David
Thielen
Sent: Friday, December 15, 2006 2:04 PM
To: John Vottero; wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] zip program for bootstrapper  msi

Same issues we have with Chilkat - caption, icon,  version (I forgot
about that). So looks like we both are at the same point.

 

Thanks - dave

 

 

 

David Thielen

www.windwardreports.com

303-499-2544 x1185

 

Cubicle Wars - http://www.windwardreports.com/film.htm



From: John Vottero [mailto:[EMAIL PROTECTED] 
Sent: Friday, December 15, 2006 11:49 AM
To: David Thielen; wix-users@lists.sourceforge.net
Subject: RE: [WiX-users] zip program for bootstrapper  msi

 

Ok, I looked into the details because this is working for us.  We use
IExpress to compress everything into a single executable.  You probably
already have IExpress, I believe that it's part of IE.  IExpress lets
you specify a setup command (AppLaunched) and a post install command
(PostInstallCmd).  We run the MSBuild/GenerateBootstrapper with
AppLaunched and we run our bootstrapper/installer with the
PostInstallCmd.

 

The things I don't like about IExpress are:

- Command line support is weak

- You can't change the executable's Icon

- You can't change the executable's tooltip description

- You can't change the executable's version

 





From: David Thielen [mailto:[EMAIL PROTECTED] 
Sent: Friday, December 15, 2006 1:18 PM
To: John Vottero; wix-users@lists.sourceforge.net
Subject: RE: [WiX-users] zip program for bootstrapper  msi

The only problem is it's Microsoft's bootstrapper from
MSBuild/GenerateBootstrapper so I have no control over that.

 

Thanks - dave

 

 

 

David Thielen

www.windwardreports.com

303-499-2544 x1185

 

Cubicle Wars - http://www.windwardreports.com/film.htm





From: John Vottero [mailto:[EMAIL PROTECTED] 
Sent: Friday, December 15, 2006 8:19 AM
To: David Thielen; wix-users@lists.sourceforge.net
Subject: RE: [WiX-users] zip program for bootstrapper  msi

 

I don't think your bootstrapper should exit until the msi is
done installing.

 





From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of David
Thielen
Sent: Friday, December 15, 2006 2:16 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] zip program for bootstrapper  msi

Hi;

 

Can anyone suggest one to use to unzip the 2 files and
then launch the bootstrapper?

*   Winzip won't work because it deletes the
unzipped file as soon as the first exists - so the msi will be deleted
when the bootstrapper completes and spawns it. 
*   Chilkat doesn't run will in a build script (file
is still locked when it returns, can't set the caption or icon). 

 

??? - thanks - dave

 

 

Re: [WiX-users] Verify user?

2006-12-15 Thread Matthew Janulewicz
From Joe Kaplan:

'I think you'd also need to check to see if the authenticated user has
at minimum log on as a service privilege.'

Thanks, Joe! That was it! I knew this in the back of my mind, too, but
failed to remember that I was using a different user than myself.

Thanks for all the help, guys!


-Matt

-Original Message-
From: Rob Mensching [mailto:[EMAIL PROTECTED] 
Sent: Friday, December 15, 2006 3:06 PM
To: Matthew Janulewicz; Joe Kaplan; wix-users@lists.sourceforge.net
Subject: RE: [WiX-users] Verify user?

No difference that I know of.  That's a built-in MSI action.  A verbose
log file should be able to show you more details about why it isn't
installing.

-Original Message-
From: Matthew Janulewicz [mailto:[EMAIL PROTECTED]
Sent: Friday, December 15, 2006 14:57
To: Joe Kaplan; Rob Mensching; wix-users@lists.sourceforge.net
Subject: RE: [WiX-users] Verify user?

As a follow-up question, is there a difference in how this action
(ServiceInstall) acts in an XP environment vs Windows 2k3? The installer
I've developed on XP seems to install the service just fine in the dev
environment, but when I take the same installer over to a 2003 server it
seems to mostly skip that part altogether. It does write the registry
entries I would expect, but even a reboot of the 2003 server will not
get it to 'pop' into the services list. Any ideas? My code snippet looks
like this:

ServiceInstall Id=DomainTestService
Account=[SERVICE_DOMAIN]\[SERVICE_USER]
Description=TestService
DisplayName=TestService
ErrorControl=ignore
Interactive=no
Name=TestService.exe
Password=SERVICE_PASSWORD
Start=auto
Type=ownProcess /
ServiceControl Id=DomainServiceControl
Name=TestService.exe
Stop=uninstall
Remove=uninstall /

Earlier in the component I have the .exe set as a keyfile, etc. As I
said it works just fine on XP, seems to not work on 2K3.

Note that I do not want the service to start upon install, so I left the
'Start' key out of the ServiceControl item. Is this okay to do?


-Matt


-Original Message-
From: Joe Kaplan [mailto:[EMAIL PROTECTED]
Sent: Friday, December 15, 2006 2:16 PM
To: Rob Mensching; Matthew Janulewicz; wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Verify user?

I think you'd also need to check to see if the authenticated user has at

minimum log on as a service privilege.  It might not.  The service
could
still fail to start due to other ACL problems, so all in all, it is a
pretty
difficult thing to get 100%.

A custom action that does LogonUser would at least validate the
credentials
though.

Perhaps that could be added as a feature request for the service control
CA
stuff?  Add a ValidateCredentials attribute or something...

The privilege thing reminds me that it would be cool to have local
security
policy changes to handle things like user rights assignment as a CA in
WiX
(log on as service, act as part of the operating system, etc.).  Another

feature request.  :)

Joe K.

- Original Message -
From: Rob Mensching
To: Matthew Janulewicz ; wix-users@lists.sourceforge.net
Sent: Friday, December 15, 2006 12:13 PM
Subject: Re: [WiX-users] Verify user?


You'd need a CustomAction to try to logon that user (or something to
verify
it is a valid user/password).  There isn't anything in the WiX toolset
for
that today, but it'd be cool if there was.

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Matthew
Janulewicz
Sent: Friday, December 15, 2006 09:48
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Verify user?

We're using Wix 3. One of our installers installs a service, but it may
run
under different users in different environments. The installer will
prompt
the user for the domain, username and password to apply during the
ServiceInstall step.

However, if they enter in an invalid user or password the installer just

sort of uninstalls itself and stops. Is there a way to verify a
domain/user/password is valid before ServiceInstall fires off?

--
Matthew Janulewicz
SCM Engineer
Green Dot Corporation
[EMAIL PROTECTED]
(626) 775-3857




-
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=DEVDE
V



___
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

Re: [WiX-users] zip program for bootstrapper msi

2006-12-15 Thread Rob MacFadyen
David,
 
They sell a COM component that can be used from just about any language,
including VBScript. Here's the script I use, with some junk X'd out, and it
just gets invoked from the build tool. Note I have not migrated to MSBUILD
GenerateBootstapper... left as an exercise for the reader :). This script
was taken, pretty much word for word, from one of their examples.


' Create EXE script 
set zip = CreateObject(ChilkatZip2.ChilkatZip2)
zip.UnlockComponent XXX

' Set this property to use an icon for the EXE that is created.
zip.ExeIconFile = C:\X\MyProgam.ico

' Use this property to automatically unzip when the EXE is double-clicked.
' 1 = EXE has no interface, 0 (the default) = EXE includes default interface
window
zip.ExeNoInterface = 0
zip.ExeTitle = A Nice title here
zip.ExeUnzipCaption = Extracting installation files...

' Causes the EXE to run a program (that was contained within the EXE)
' immediately after extracting.
zip.AutoRun = PSetup.exe
zip.AutoRunParams = /log /uionlyifneeded

' Causes the creation of an EXE that has no interface,
' and automatically selects a temporary directory for
' unzipping.
zip.AutoTemp = 1
zip.DiscardPaths = 1

' Initialize the Zip object and add some files.
zip.NewZip zipFilenameNotUsedBecauseAnExeIsCreated.zip

' Refer to http://www.chilkatsoft.com/refdoc/xChilkatZip2Ref.html 
' for documentation on all properties and methods.

zip.AppendOneFileOrDir C:\X\bin\Release\XX.msi, 0
zip.AppendOneFileOrDir C:\X\PSetup\PSetup.exe, 0
zip.AppendOneFileOrDir C:\X\PSetup\PSetup.ini, 0
zip.AppendOneFileOrDir C:\X\PSetup\Unicows.dll, 0

zip.WriteExe C:\X\bin\Release\MySetup.exe

 
As to how many licenses you will need... you will have to read their eula
and so forth. I think (but could be wrong) they said build machines don't
count (or words to that effect). So all you may need is a single developer
license (the guy who writes your version of the VBScript above). A 5 minute
phone call to them might also be illuminating.

Regards,

Rob
 




From: David Thielen [mailto:[EMAIL PROTECTED] 
Sent: Friday, December 15, 2006 6:11 PM
To: Rob MacFadyen; wix-users@lists.sourceforge.net
Subject: RE: [WiX-users] zip program for bootstrapper  msi



Correct me if I'm wrong - I looked at this approach. But what they sell is a
dll so I then have to write a program that uses that dll to create the exe
program. If they had a command line program that did this I'ld happily pay
$199.00 * 3 (2 dev, I build system) for this.

 

Thanks - dave

 

 

David Thielen

www.windwardreports.com

303-499-2544 x1185

 

Cubicle Wars - http://www.windwardreports.com/film.htm



From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Rob MacFadyen
Sent: Friday, December 15, 2006 1:09 PM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] zip program for bootstrapper  msi

 

The ChilKat ZipToSecureExe is a _demo_ of their commercial ZIP component. 

 

The commercial zip component allows for lots of things that are not part of
the free demo. Here's a link to the docs:

http://www.chilkatsoft.com/refdoc/xChilkatZip2Ref.html

 

Of specific interest: Changing icon, changing unzip directory.

 

On whole I found it a worthwhile purchase, and inexpensive at
$149/developer.

 

For version # updating you can do this yourself... but you'll need to
investigate opening and writing resource sections in an EXE. I _know_ it can
be done with system calls from C/C++... I just can't recall the reference
(somewhere in msdn... maybe near/around PE File Format?). A quick google on
write version resource in exe also turned up this tool which seems to be
exactly what you need:

http://www.heaventools.com/command-line_resource_editor.htm

 

The $199 price seems a bit high... but if you don't want to spend a couple
of days mucking around with C/C++ then it's a steal.

 

Regards,

 

Rob

 



From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of David Thielen
Sent: Friday, December 15, 2006 2:04 PM
To: John Vottero; wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] zip program for bootstrapper  msi

Same issues we have with Chilkat - caption, icon,  version (I forgot about
that). So looks like we both are at the same point.

 

Thanks - dave

 

 

 

David Thielen

www.windwardreports.com

303-499-2544 x1185

 

Cubicle Wars - http://www.windwardreports.com/film.htm



From: John Vottero [mailto:[EMAIL PROTECTED] 
Sent: Friday, December 15, 2006 11:49 AM
To: David Thielen; wix-users@lists.sourceforge.net
Subject: RE: [WiX-users] zip program for bootstrapper  msi

 

Ok, I looked into the details because this is working for us.  We use
IExpress to compress everything into a single executable.  You probably
already have IExpress, I believe that it's part of IE.  IExpress 

Re: [WiX-users] Website redirect?

2006-12-15 Thread Rob Mensching
Not currently supported.   You could open a feature request if there isn't one 
open on this already...

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Matthew 
Janulewicz
Sent: Friday, December 01, 2006 17:20
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Website redirect?

I have a need to create a website that redirects to another website. In IIS the 
Home Directory tab has three radio buttons.

When I set the Directory element of the website it defaults to the first one. 
Is there a way to make it install a website that would, in effect, select the 
third radio button (A redirection to a URL) and let me enter an http:// address 
for the 'Directory'?

--
Matthew Janulewicz
SCM Engineer
Green Dot Corporation
[EMAIL PROTECTED]mailto:[EMAIL PROTECTED]
(626) 775-3857
-
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] How to validate command line string argument based upon its length???

2006-12-15 Thread nikhil more
Hi,
   
  Is there a way to validate the command line argument while going for slient 
istalltion from command prompt.I want to check if string argument that I am 
providing is of length 6 charcter or more then only go for further installation 
othersie exit..
   
  I could see that we can put a check for blank string entry something like in 
   
  Condition message=some error 
message![CDATA[argumentName]/Condition
   
  But don't know how to consider the check the length of string argument and 
then take appropriate action...
   
  I am new to Wix..could someone please guide me here..
   
  Thanks,
  Nik

 __
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com -
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] Verify user?

2006-12-15 Thread Joe Kaplan
Luckily, I've had that problem relatively recently so it came to mind.  :)

Like I said in my other mail, it would be a nice feature for WiX to support 
modifying local security policy to handle things like this, especially as a 
compliment for the support for user and group creation.  It would really 
help connect these dots and enable a few scenarios.

Joe

- Original Message - 
From: Matthew Janulewicz [EMAIL PROTECTED]
To: Rob Mensching [EMAIL PROTECTED]; Joe Kaplan 
[EMAIL PROTECTED]; wix-users@lists.sourceforge.net
Sent: Friday, December 15, 2006 5:49 PM
Subject: RE: [WiX-users] Verify user?


From Joe Kaplan:

'I think you'd also need to check to see if the authenticated user has
at minimum log on as a service privilege.'

Thanks, Joe! That was it! I knew this in the back of my mind, too, but
failed to remember that I was using a different user than myself.

Thanks for all the help, guys!


-Matt

-Original Message-
From: Rob Mensching [mailto:[EMAIL PROTECTED]
Sent: Friday, December 15, 2006 3:06 PM
To: Matthew Janulewicz; Joe Kaplan; wix-users@lists.sourceforge.net
Subject: RE: [WiX-users] Verify user?

No difference that I know of.  That's a built-in MSI action.  A verbose
log file should be able to show you more details about why it isn't
installing.

-Original Message-
From: Matthew Janulewicz [mailto:[EMAIL PROTECTED]
Sent: Friday, December 15, 2006 14:57
To: Joe Kaplan; Rob Mensching; wix-users@lists.sourceforge.net
Subject: RE: [WiX-users] Verify user?

As a follow-up question, is there a difference in how this action
(ServiceInstall) acts in an XP environment vs Windows 2k3? The installer
I've developed on XP seems to install the service just fine in the dev
environment, but when I take the same installer over to a 2003 server it
seems to mostly skip that part altogether. It does write the registry
entries I would expect, but even a reboot of the 2003 server will not
get it to 'pop' into the services list. Any ideas? My code snippet looks
like this:

ServiceInstall Id=DomainTestService
Account=[SERVICE_DOMAIN]\[SERVICE_USER]
Description=TestService
DisplayName=TestService
ErrorControl=ignore
Interactive=no
Name=TestService.exe
Password=SERVICE_PASSWORD
Start=auto
Type=ownProcess /
ServiceControl Id=DomainServiceControl
Name=TestService.exe
Stop=uninstall
Remove=uninstall /

Earlier in the component I have the .exe set as a keyfile, etc. As I
said it works just fine on XP, seems to not work on 2K3.

Note that I do not want the service to start upon install, so I left the
'Start' key out of the ServiceControl item. Is this okay to do?


-Matt


-Original Message-
From: Joe Kaplan [mailto:[EMAIL PROTECTED]
Sent: Friday, December 15, 2006 2:16 PM
To: Rob Mensching; Matthew Janulewicz; wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Verify user?

I think you'd also need to check to see if the authenticated user has at

minimum log on as a service privilege.  It might not.  The service
could
still fail to start due to other ACL problems, so all in all, it is a
pretty
difficult thing to get 100%.

A custom action that does LogonUser would at least validate the
credentials
though.

Perhaps that could be added as a feature request for the service control
CA
stuff?  Add a ValidateCredentials attribute or something...

The privilege thing reminds me that it would be cool to have local
security
policy changes to handle things like user rights assignment as a CA in
WiX
(log on as service, act as part of the operating system, etc.).  Another

feature request.  :)

Joe K.

- Original Message -
From: Rob Mensching
To: Matthew Janulewicz ; wix-users@lists.sourceforge.net
Sent: Friday, December 15, 2006 12:13 PM
Subject: Re: [WiX-users] Verify user?


You'd need a CustomAction to try to logon that user (or something to
verify
it is a valid user/password).  There isn't anything in the WiX toolset
for
that today, but it'd be cool if there was.

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Matthew
Janulewicz
Sent: Friday, December 15, 2006 09:48
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Verify user?

We're using Wix 3. One of our installers installs a service, but it may
run
under different users in different environments. The installer will
prompt
the user for the domain, username and password to apply during the
ServiceInstall step.

However, if they enter in an invalid user or password the installer just

sort of uninstalls itself and stops. Is there a way to verify a
domain/user/password is valid before ServiceInstall fires off?

--
Matthew Janulewicz
SCM Engineer
Green Dot Corporation
[EMAIL PROTECTED]
(626) 775-3857




-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your

[WiX-users] Customizing strings in the WixUIExtension dll

2006-12-15 Thread Jeff Bean

What is the best way to customize the strings that are part of the stock user
interface contained in the WixUIExtension dll?

The strings I want to change are in WixUI_en-us.wxl. As best as I can tell,
when the WixUIExtension dll is built, this wxl file is included as a
localization file on the lit command which creates the ui.wixlib file. The
ui.wixlib file is in turn built into the WixUIExtension dll as a resource.

Is there a way to customize the strings on the light command when I include
the WixUIExtension dll, similar to the way you can customize the dialog
bitmaps? Or do I have to edit the WixUI_en-us.wxl file and rebuild the dll?
-- 
View this message in context: 
http://www.nabble.com/Customizing-strings-in-the-WixUIExtension-dll-tf2830787.html#a7903129
Sent from the wix-users mailing list archive at Nabble.com.


-
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