[WiX-users] Referencing a file in dependency merge module.

2008-05-12 Thread Sunghwa Jin
Hi,

I am using WiX v3.0.4102.0 now.

I am having problem to reference a file in a merge module (say ModuleA) from 
another merge module. (say ModuleB). I am referencing the file in ModuleA from 
a custom action of ModuleB. The problem is that when actual merge module is 
generated, the name is modularized to include ModuleB's ID.



So [#MyService.exe.config.87654321_4321_4321_4321_210987654321] becomes 
something like below in the actual merge module.
[#MyService.exe.config.87654321_4321_4321_4321_210987654321.403D71D6_50FA_40D2_8FB7_E33B0A9BCC5C]

Is there any way to let WiX know that it shouldn't modularize this file 
reference?

Thanks,
Sunghwa
-
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


[WiX-users] WiX 3: How to display error message box?

2007-11-19 Thread Sunghwa Jin
Hi all,

I have some UI dialogs that needs certain validation before displaying next 
page when Next button is clicked. How do you display a very simple message box 
with simple OK button and message text only when certain condition is met? For 
example, one of text box is empty etc..

I initially tried disabling/enabling Next button by checking property value, 
but it didn't work well for text box as the property is not changed until focus 
is out and allowing user to press Next even if the property is empty. So I am 
trying to find a way to display message box when Next is clicked if required 
field is missing or any other validation error occurs.

I think it should be done through , but I am not sure whether I should 
create modal dialog box myself for them or I am missing something pretty basic 
here.

Should I create new dialog for each different error messages and spawn that 
dialog?
Or should I create a custom action for this and call the custom action using 
?
Or do I really missing something essential here?

Thanks,
Sunghwa
-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
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


[WiX-users] WiX v3: How to verify user name / password entered?

2007-10-04 Thread Sunghwa Jin
Hi,

I have a setup dialog asking user name, domain and password for using it as a 
service account. Is there any way I can verify this info by actually attempting 
to log-on?

Thanks,
Sunghwa


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] WiX v3: How to grant "Log on as a service" right to a user?

2007-10-04 Thread Sunghwa Jin
Hi all,

Can someone give me any hint on granting "Log on as a service" right to a 
particular user in WiX v3? I found some below thread discussing LogonAsService 
attribute for User element, but I don't think it actually exists.

http://www.nabble.com/FW:-Granting-Permissions-to-%22Log-on-as-a-Service%22-through-%3CServiceInstall%3E-t3176927.html

Thanks,
Sunghwa
-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] How to schedule a deferred custom action after GAC'ing assemblies?

2007-09-07 Thread Sunghwa Jin
Answering myself.

This is discussed here: http://support.microsoft.com/kb/934388

Since creating managed performance counter without using managed installer 
class will be very hard if that's ever possible, natural choice would be 
creating separate assembly which won't be GACed.

Thanks,
Sunghwa

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sunghwa Jin
Sent: Friday, September 07, 2007 1:07 PM
To: WiX-users@lists.sourceforge.net
Subject: [WiX-users] How to schedule a deferred custom action after GAC'ing 
assemblies?

Hi,

I have custom actions that calls InstallUtil.exe. Things works just fine now 
except I have left-over .InstallState file in my installation folder.

It turns out this is because the custom action that calls InstallUtil.exe 
during installation before it GACs the assembly while it calls InstallUtil.exe 
during uninstallation after the assembly is removed from GAC.

To solve this, I need to schedule the custom action after the assembly is added 
to GAC during installation. How can I do this?

I tried scheduling the custom action after MsiPublishAssemblies, but it seems 
like real GAC'ing is still done after the custom action.

Thanks,
Sunghwa

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
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


[WiX-users] How to schedule a deferred custom action after GAC'ing assemblies?

2007-09-07 Thread Sunghwa Jin
Hi,

I have custom actions that calls InstallUtil.exe. Things works just fine now 
except I have left-over .InstallState file in my installation folder.

It turns out this is because the custom action that calls InstallUtil.exe 
during installation before it GACs the assembly while it calls InstallUtil.exe 
during uninstallation after the assembly is removed from GAC.

To solve this, I need to schedule the custom action after the assembly is added 
to GAC during installation. How can I do this?

I tried scheduling the custom action after MsiPublishAssemblies, but it seems 
like real GAC'ing is still done after the custom action.

Thanks,
Sunghwa

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Referencing other property as default value of a property?

2007-06-26 Thread Sunghwa Jin
Sorry, but I figured that I was referencing WiX v3 doc while I was modifying 
WiX v2 file. I will resend question after I try proper syntax.


From: Sunghwa Jin
Sent: Tuesday, June 26, 2007 3:01 PM
To: 'WiX-users@lists.sourceforge.net'
Subject: Referencing other property as default value of a property?

Hi all,

I am trying to set a property called SQLSERVER like below. What I am trying to 
do is that I take registry value as its value if exist. If it doesn't exist, I 
should take computername as default value. And user should be able to override 
this value by specifying it in msiexec.exe's command line.


  

When I build this, I get exception like below:
Myserver.wxs(50) : warning CNDL1077 : The 'SQLSERVER' Property contains 
'[ComputerName]' in its value which is an illegal reference to another 
property.  If this value is a string literal, not a property reference, please 
ignore this warning.  To set a property with the value of another property, use 
a CustomAction with Property and Value attributes.

I am trying to figure out I can do this by using CustomAction, but adding below 
generates another compilation error:



candle.exe : error CNDL0001 : Cannot set column 'Action' with a null value 
because this is a required field.

Can someone kindly teach me how I can solve this?

Thanks,
Sunghwa
-
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] Referencing other property as default value of a property?

2007-06-26 Thread Sunghwa Jin
Hi all,

I am trying to set a property called SQLSERVER like below. What I am trying to 
do is that I take registry value as its value if exist. If it doesn't exist, I 
should take computername as default value. And user should be able to override 
this value by specifying it in msiexec.exe's command line.


  

When I build this, I get exception like below:
Myserver.wxs(50) : warning CNDL1077 : The 'SQLSERVER' Property contains 
'[ComputerName]' in its value which is an illegal reference to another 
property.  If this value is a string literal, not a property reference, please 
ignore this warning.  To set a property with the value of another property, use 
a CustomAction with Property and Value attributes.

I am trying to figure out I can do this by using CustomAction, but adding below 
generates another compilation error:



candle.exe : error CNDL0001 : Cannot set column 'Action' with a null value 
because this is a required field.

Can someone kindly teach me how I can solve this?

Thanks,
Sunghwa
-
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] ICE66: Complete functionality of the MsiAssembly table is only available with Windows Installer version 1.5. Your schema is 100.

2007-06-19 Thread Sunghwa Jin
Ignore this. I figured out:

  should be supplied.

From: Sunghwa Jin
Sent: Tuesday, June 19, 2007 3:17 PM
To: 'WiX-users@lists.sourceforge.net'
Subject: ICE66: Complete functionality of the MsiAssembly table is only 
available with Windows Installer version 1.5. Your schema is 100.

Hi all,

I'm getting this error after I switch to WiX v3 when running Light.exe. Can 
someone  give me any clue about this warning? How can I solve this issue? Light 
version is 3.0.2712.0:

warning LGHT1076 : ICE66: Complete functionality of the MsiAssembly table is 
only available with Windows Installer version 1.5. Your schema is 100.

Thanks,
Sunghwa
-
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] ICE66: Complete functionality of the MsiAssembly table is only available with Windows Installer version 1.5. Your schema is 100.

2007-06-19 Thread Sunghwa Jin
Hi all,

I'm getting this error after I switch to WiX v3 when running Light.exe. Can 
someone  give me any clue about this warning? How can I solve this issue? Light 
version is 3.0.2712.0:

warning LGHT1076 : ICE66: Complete functionality of the MsiAssembly table is 
only available with Windows Installer version 1.5. Your schema is 100.

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


[WiX-users] How to drop database if one exists already before creating it?

2007-06-18 Thread Sunghwa Jin
Hi all,

As a temporary solution for convenience of developing/testing very early 
product  regardless of best practice, I would like to drop a specific database 
if it exists already before creating it. So I have something like below, but it 
seems like it isn't dropping the database and it just fail if the DB exists 
already because the sql script has some assumption that DB is clean.


  

  


  

  


I also tried to having  nested at  element and have 
reference to 'master' database and then tried running  nested under 
 element to run "IF EXIST ... DROP DATABASE", but it seems like the 
string is never executed.

BTW I'm using WiX v2 now and have plan for moving to WiX v3 and this is my 
first WiX project.

Thanks,
Sunghwa
-
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