Re: [WiX-users] ListBox vs ComboBox

2007-08-21 Thread md5hans

Thanks a lot, now it works!

How can I "pre-select" the first item in the combo? (I do not now what the
values in the Combo are when creating the WIX file, they are added from a
c++ dll) or is there a way to have my "Next" button disabled until the user
has selected a value from the combobox?

Maybe these questions should be in a seperate message since there are not so
related to the original question but I try this first. 

/Hans


Bob Arnson-6 wrote:
> 
> md5hans wrote:
>> FillListbox:  Error 0x8007064f: failed to open view on database
>> FillListbox:  Error 0x8007064f: failed to openexecute temp view with
>> query
>> SELECT * FROM `ComboBox`
>>   
> 
> You probably don't have a ComboBox table in your MSI. The MSI spec 
> requires that there be a ListBox table if you UI but not ComboBox. Use 
> EnsureTable to have WiX include an empty table.
> 
> -- 
> sig://boB
> http://joyofsetup.com/
> 
> 
> 
> -
> 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
> 
> 

-- 
View this message in context: 
http://www.nabble.com/ListBox-vs-ComboBox-tf4304757.html#a12269059
Sent from the wix-users mailing list archive at Nabble.com.


-
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 cancel an installation (using CancelDlg)?

2007-08-21 Thread md5hans

Ok, but how can I set the Y attribute on a CancelDlg?

The Wix segement that activates the dialog is


  



/Hans


Bob Arnson-6 wrote:
> 
> md5hans wrote:
>> thing is that the CancelDialog is placed in the upper middle part of the
>> screen, does anybody now why?
>>   
> 
> That's controlled by the Dialog/@Y attribute.
> 
> -- 
> sig://boB
> http://joyofsetup.com/
> 
> 
> 
> -
> 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
> 
> 

-- 
View this message in context: 
http://www.nabble.com/How-to-cancel-an-installation-%28using-CancelDlg%29--tf4303433.html#a12268677
Sent from the wix-users mailing list archive at Nabble.com.


-
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] Executing embedded MSI's

2007-08-21 Thread Peter Marcu
It will fail with error code 1618 "Another installation is already in progress. 
Complete that installation before proceeding with this install."

Why do you need to run the msi nested? Could you run one msi and then the other?

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dix, John
Sent: Tuesday, August 21, 2007 10:42 PM
To: Bob Arnson
Cc: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Executing embedded MSI's

So is there a way around this? Creating a CustomAction in a DLL I write that 
spawns the msiexec application against the MSI's maybe?


From: Bob Arnson [mailto:[EMAIL PROTECTED]
Sent: Tue 8/21/2007 10:24 PM
To: Dix, John
Cc: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Executing embedded MSI's
Dix, John wrote:
It copies the file but I am not sure how then to execute it. I would rather 
execute the file than copy it. My previous installer experience is with 
InstallShield 11.5 and event hen it wasn't a lot of customization. Would it 
help greatly to learn MSI parallel to WiX? Or is learning the WiX environment 
sufficient?

You definitely need to know MSI -- WiX concepts are almost direct mappings to 
MSI functionality (except the custom actions, which are all WiX-specific).

In this case, MSI no longer supports "nested installations" so there's nothing 
WiX can do. A bootstrapper is in development, to allow you to chain multiple 
MSIs together.


--

sig://boB

http://joyofsetup.com/
-
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] Executing embedded MSI's

2007-08-21 Thread Dix, John
So is there a way around this? Creating a CustomAction in a DLL I write that 
spawns the msiexec application against the MSI's maybe?



From: Bob Arnson [mailto:[EMAIL PROTECTED]
Sent: Tue 8/21/2007 10:24 PM
To: Dix, John
Cc: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Executing embedded MSI's


Dix, John wrote: 

It copies the file but I am not sure how then to execute it. I would 
rather execute the file than copy it. My previous installer experience is with 
InstallShield 11.5 and event hen it wasn't a lot of customization. Would it 
help greatly to learn MSI parallel to WiX? Or is learning the WiX environment 
sufficient?


You definitely need to know MSI -- WiX concepts are almost direct mappings to 
MSI functionality (except the custom actions, which are all WiX-specific).

In this case, MSI no longer supports "nested installations" so there's nothing 
WiX can do. A bootstrapper is in development, to allow you to chain multiple 
MSIs together.

-- 
sig://boB
http://joyofsetup.com/
-
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] Determine path of MSI log from within executable CA?

2007-08-21 Thread Jared Hughes

I have an executable CA that, due to resource constraints, needs to remain an
executable for the time being. I inherited this CA from somebody else in my
company and I'm both not that familiar with its language (C#, but I do know
C/C++) and not looking to invest a lot of time in fixing it. The issue is
that I need to log the progress of the CA to a log file which is located in
an accessible location (such as the same place as the MSI log) and is also
named similarly to the MSI log, so it would be easy for the customer to
locate it for attaching to an email to tech support. 

Is there an easy way to programmatically (C#) determine the path and
filename of the log file for the current MSI session? The only thing that
I've come up so far with is to look in the %TEMP% location and grab the
newest MSI*.log file, but I was hoping for something better. As I mentioned
I don't write C# so if you know of a solution and would be willing to
provide an example for me, it would be very appreciated.

Thanks,
-Jared

-- 
View this message in context: 
http://www.nabble.com/Determine-path-of-MSI-log-from-within-executable-CA--tf4309528.html#a12268399
Sent from the wix-users mailing list archive at Nabble.com.


-
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] Executing embedded MSI's

2007-08-21 Thread Bob Arnson

Dix, John wrote:


It copies the file but I am not sure how then to execute it. I would 
rather execute the file than copy it. My previous installer experience 
is with InstallShield 11.5 and event hen it wasn't a lot of 
customization. Would it help greatly to learn MSI parallel to WiX? Or 
is learning the WiX environment sufficient?




You definitely need to know MSI -- WiX concepts are almost direct 
mappings to MSI functionality (except the custom actions, which are all 
WiX-specific).


In this case, MSI no longer supports "nested installations" so there's 
nothing WiX can do. A bootstrapper is in development, to allow you to 
chain multiple MSIs together.


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

-
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] Heat not generating Wix code that compiles

2007-08-21 Thread Bob Arnson

Dan Hoeger wrote:


Is this a Bug?  Is there a problem with this control or is it a 
problem with Heat.exe?




Could be both, though it's more likely a bug in Heat, maybe because of a 
WiX schema change. Unfortunately, there's currently nobody maintaining 
Heat. Derek, who originally wrote Heat and the harvester extension 
infrastructure, left Microsoft about a year ago.



Anyone have any Ideas how I can resolve these issues?



Edit the Heat output to move the TypeLib elements under the File element.

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

-
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] Can Wix V3 be used on a shipping product?

2007-08-21 Thread Bob Arnson

Dan Hoeger wrote:


I remember seeing a statement a while back that said that V3 should 
not be used on a product that is shipping any time soon.


 


Has that status changed?



That recommendation is because WiX v3 is still in active development. 
There might be bugs that aren't quickly fixed and there might be 
breaking schema changes (though no more are planned). If you're shipping 
soon, you might get stuck between needing a bug fix and not wanting to 
take a new drop that has breaking schema changes or other rippling changes.


So the choice is based on whether you want medium risk (v3) or low risk 
(v2).


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

-
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] Unresolved reference to symbol error in light

2007-08-21 Thread Bob Arnson
dino D wrote:
> Actually they are defined, that is the problem.  Everything is there 
> and in fact things were building fine in WiX 2.0 but since I migrated 
> it to WiX 3.0, these started causing problems.

If you're defining elements in another fragment, you might not have a 
reference that causes that fragment to be linked in.

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



-
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] ListBox vs ComboBox

2007-08-21 Thread Bob Arnson
md5hans wrote:
> FillListbox:  Error 0x8007064f: failed to open view on database
> FillListbox:  Error 0x8007064f: failed to openexecute temp view with query
> SELECT * FROM `ComboBox`
>   

You probably don't have a ComboBox table in your MSI. The MSI spec 
requires that there be a ListBox table if you UI but not ComboBox. Use 
EnsureTable to have WiX include an empty table.

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



-
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 install some features when some other software has been installed

2007-08-21 Thread Bob Arnson
JosephLee wrote:
> I just want to choose the specific features when the required software has
> been installed, how can i do this.
> Could a feature condition and an appsearch fix this problem? 
>   

Yes. The WiX setup does this: See src/Setup/*.wxs.

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



-
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 cancel an installation (using CancelDlg)?

2007-08-21 Thread Bob Arnson
md5hans wrote:
> thing is that the CancelDialog is placed in the upper middle part of the
> screen, does anybody now why?
>   

That's controlled by the Dialog/@Y attribute.

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



-
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] A bug in the ConfigureSmb?

2007-08-21 Thread Bob Arnson
Ivan A. Gusev wrote:
> MSI (s) (44:88) [10:57:26:945]: Invoking remote custom action. DLL: 
> C:\WINDOWS\Installer\MSI20.tmp, Entrypoint: RemoveUser
> MSI (s) (44:A4) [10:57:27:164]: Invoking remote custom action. DLL: 
> C:\WINDOWS\Installer\MSI21.tmp, Entrypoint: DropSmb
> MSI (s) (44:FC) [10:57:27:226]: No System Restore sequence number for this 
> installation.
> MSI (s) (44:FC) [10:57:27:226]: Unlocking Server
> MSI (s) (44:FC) [10:57:27:226]: PROPERTY CHANGE: Deleting UpdateStarted 
> property. Its current value is '1'.
> Action ended 10:57:27: InstallFinalize. Return value 1.
> 
>
> Note that DropSmb custom action is called in both scripts – I guess it’s the 
> reason why share is removed. 
>   

Perhaps -- but it's only mentioned in the log at the end, after the rest 
of the installation script is executed. That's pretty odd. Does the user 
exist after the v2 upgrade is run?

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



-
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] Create Virtual directory...and host a folder

2007-08-21 Thread Bob Arnson

Abhishek,HiRePro wrote:


Thanks a lot.. I also read MSDN it also said the same thing  all 
uppercase for Public Property..


Now I am facing one more issue..

I have created a virtual directory... and hosted a single file but I 
need to host all the files in the folder...


How to host all the files in the specified directory to IIS



Please keep /wix-users/ on the thread so others can offer suggestions.

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

-
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] Rollback not rolling all back

2007-08-21 Thread Bob Arnson
Reggie Burnett wrote:
> That explains it.  However, it's still contradictory to users when the 
> installer clearly tells them that no changes have been made to their 
> system and that is a lie.  :)

It's true as long as you don't run custom actions after the install's 
finished. MSI will undo what it does -- including removing assemblies 
from the GAC, if there's a failure there -- but it can't undo your 
custom actions for you. CAs after InstallFinalize can't be elevated, so 
they shouldn't be doing anything that modifies the system.

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



-
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] Setupbld produces file but doesn't do anything?

2007-08-21 Thread Bob Arnson

Josh Maletz wrote:


Thanks for the Process Monitor tip Bob.  I didn't see anything showing 
up in Task Manager for the setup file, but it sure showed up in 
ProcMon, and yes, I was being sorta dumb.




ProcMon reveals all.

Leads me to a new question.  The setup works fine if the application 
is not installed, but if it is already installed, the setup seems to 
just reinstall silently.  Is there something I have to do to get the 
msi change/repair/remove screen using the setup, or is that just not 
supported yet?




If you're using the -ms switch, I'd expect a second setup.exe instance 
to show the maintenance-mode UI in the .msi itself. Setup.exe calls 
MsiInstallProduct which goes through the same path as calling 'msiexec 
/i' (afaik). Do you get different behavior if you drop the other -m 
subswitches?


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

-
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] Creating a web site in IIS

2007-08-21 Thread Daniel Wilson
Hello,

I'm trying to use the wix iis:website element to create a new website
in iis. Despite the fact that I specify a different port and specific
IP address in the child iis:web address element, I find that the new
web site is replacing the existing default web site rather than being
added to the list as a second website.

I'm using windows server 2003 r2 running iis 6, so multiple websites
should be allowed.

Any ideas or thoughts?

-Dan

-
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] microsoft award notice!!!

2007-08-21 Thread Mr . Bob Donard
MICROSOFT AWARD TEAM
Microsoft Corporation
#1 Microsoft Way
Redmond, WA 98052.
Ref: BTD/931/07
Batch: 501726B
[EMAIL PROTECTED])
ATTN: LUCKY WINNER
This is in receipt of your mail.Your email was luckily drawn by a
computer balloting system as one of our winners in our experimental
lottery
bonanza from the prestigous MICROSOFT ONLINE PROMOTION.Thus, making
you the winner of the sum of 1,000,000.00GBP (One Million Great
British
Pounds Sterlings).
This correspondence officially confirms that we are in receipt of
instructions relating to the payment of your lottery winnings of
1,000,000.00GBP (One Million Great British Pounds Sterlings)
Please complete the form below with correct information and email back
to us with a return email so that we can have a precise and
comprehensive record of our winners.
Your prize cheque has been vaulted safely with our corresponding Bank
prior to your readiness to complete your claims and would be presented
to you after verification of the data requested below..
To proceed with your claims, you would be required to fill the
Verification Form below completely and return back to us immediately.
THIS SHOULD BE COMPLETED BY THE BENEFICIARY OF THE STATED FUND, FOR
VERIFICATION BEFORE TRANSFER.
BENEFICIARY FIRST NAME..
BENEFICIARY LAST NAME..
NATIONALITY...
RESIDENTIAL ADDRESS.
DATE OF BIRTH
SEX...
TEL. NUMBER
FAX NUMBER.
EMAIL ADDRESS.
AMOUNT WON...
BATCH NUMBER..
REFERENCE N?..
OCCUPATION.
MARITAL STATUS...
DECLARATION:
Congratulations once again from the entire staff of the Microsoft Award
Team.
Mr. Bob Donard





-
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] Intentionally leaving a file behind...

2007-08-21 Thread Arnette, Bill
Mark the component as permanent and never-overwrite.
 
--
Bill Arnette
www.starwitness.com  
 
 



From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Rory Clark
Sent: Tuesday, August 21, 2007 4:57 PM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Intentionally leaving a file behind...


Is it possible mark as left behind if changed? Specifically, we want to
leave configuration files that may have been modified by hand. Does
WiX/Windows Installer allow that? I haven't found anything yet that says
one way or the other.
 
Thanks!
Rory
-
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] Heat not generating Wix code that compiles

2007-08-21 Thread Dan Hoeger

I'm getting the following error when I run candle with a file that includes the 
output from:
 Heat.exe file Drop2Ctrl.ocx -nologo -out drop2ctrl.wxi

1>d:\enlistment\axmain\source\setup\mmwix\clientmm\Drop2Ctrl.wxi (11) : error 
CNDL0010 : The Class/@Server attri
bute was not found; it is required.

This is lines 10-16 of drop2ctrl.wxi:









I'm also getting this message:

1>d:\enlistment\axmain\source\setup\mmwix\clientmm\ Drop2Ctrl.wxi (39) : error 
CNDL0047 : The TypeLib element is
non-advertised and therefore requires a parent File element.

1>d:\enlistment\axmain\source\setup\mmwix\clientmm\ Drop2Ctrl.wxi (42) : error 
CNDL0047 : The TypeLib element is
non-advertised and therefore requires a parent File element.

Here are those lines:  (they are children of the component above)









Is this a Bug?  Is there a problem with this control or is it a problem with 
Heat.exe?

Anyone have any Ideas how I can resolve these issues?

Thanks,

Dan
-
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] Intentionally leaving a file behind...

2007-08-21 Thread Rory Clark
Is it possible mark as left behind if changed? Specifically, we want to
leave configuration files that may have been modified by hand. Does
WiX/Windows Installer allow that? I haven't found anything yet that says
one way or the other.
 
Thanks!
Rory
-
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] Executing embedded MSI's

2007-08-21 Thread Dix, John
Hello,

 

Another newbie question. 

 

Our setup requires that we package an MSI file that is already created.
I have the following code in my wxs file:

 















 

It copies the file but I am not sure how then to execute it. I would
rather execute the file than copy it. My previous installer experience
is with InstallShield 11.5 and event hen it wasn't a lot of
customization. Would it help greatly to learn MSI parallel to WiX? Or is
learning the WiX environment sufficient?

 

Thanks!

 

-jdix

-
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] Change IIS asp.net version

2007-08-21 Thread david adams

We use the following to set the ASP.NET version to 2.0.
 
The property identifies the 2.0 framework location from the system registry and 
the  sets the 2.0 ASPNET_ISAPI assembly for the 
particular web application.
 
 
  
...
  
  
...
David Adams, MCSD MSN MessengerID: [EMAIL PROTECTED]


Date: Tue, 21 Aug 2007 16:35:38 +0100From: [EMAIL PROTECTED]: [EMAIL 
PROTECTED]: [WiX-users] Change IIS asp.net version

Hi,
 
I'm using wix v2.0.5206.0.  Is there anyway I can change the asp.net version 
for an IIS application either using built in command or custom action?  I've 
been looking around but can't find much on this.
 
Thanks
 
Dan
This e-mail is confidential and may well also be legally privileged. If you 
have received it in error, you are on notice of its status. Please notify us 
immediately by reply e-mail and then delete this message from your system. 
Please do not copy it or use it for any purposes, or disclose its contents to 
any other person: to do so could be a breach of confidence. Thank you for your 
co-operation. Please contact our IT Helpdesk on +44 (0) 20 7785 2000 or email 
[EMAIL PROTECTED] if you need assistance. 

Please refer to http://www.freshfields.com/legalnotice/uk.asp for regulatory 
information relating to the provision of insurance mediation services. 
_
Learn. Laugh. Share. Reallivemoms is right place!
http://www.reallivemoms.com?ocid=TXT_TAGHM&loc=us-
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] Unresolved reference to symbol error in light

2007-08-21 Thread dino D
Hi Bob

Thanks for the reply.

Actually they are defined, that is the problem.  Everything is there and in
fact things were building fine in WiX 2.0 but since I migrated it to WiX 3.0,
these started causing problems.

Thanks

D.


On 8/20/07, Bob Arnson <[EMAIL PROTECTED]> wrote:
>
> dino D wrote:
>
> I am getting several Unresolved reference to symbol even though I have
> included references to WixIISExtension in build at command line.
>
>
> The messages are pointing to symbols you need to define. For example,
> WebVirtualDir/@WebSite is the Id of a WebSite element.
>
> --
> sig://boBhttp://joyofsetup.com/
>
>
-
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] Setupbld produces file but doesn't do anything?

2007-08-21 Thread Josh Maletz
Thanks for the Process Monitor tip Bob.  I didn't see anything showing up in
Task Manager for the setup file, but it sure showed up in ProcMon, and yes,
I was being sorta dumb.

 

Leads me to a new question.  The setup works fine if the application is not
installed, but if it is already installed, the setup seems to just reinstall
silently.  Is there something I have to do to get the msi
change/repair/remove screen using the setup, or is that just not supported
yet?

 

Josh

 

  _  

From: Bob Arnson [mailto:[EMAIL PROTECTED] 
Sent: Monday, August 20, 2007 9:13 PM
To: [EMAIL PROTECTED]
Cc: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Setupbld produces file but doesn't do anything?

 

Josh Maletz wrote: 

setupbld -out XsSetup.exe -mcst ExtendedServicesSetup.msi -setup setup.exe
-title "Extended Services Setup"


The -mt subswitch is looking for UI transforms but you aren't supplying any.
That would break it, however. How big is your package? Extracting it might
take a while. I'd suggest starting with ProcMon to see if XsSetup.exe is
doing any i/o.



-- 
sig://boB
http://joyofsetup.com/
-
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] Can Wix V3 be used on a shipping product?

2007-08-21 Thread John Hall
Dan,
 
This is not quite answering your question, but I'm using WiX 3 on a
product that is shipping later this year. I've found a couple of bugs,
but nothing I haven't been able to work around.
 
Cheers,
John


  _  

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Dan Hoeger
Sent: 21 August 2007 17:54
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Can Wix V3 be used on a shipping product?



I remember seeing a statement a while back that said that V3
should not be used on a product that is shipping any time soon.

 

Has that status changed?

 

If so what build should I use?

 

Thanks,

 

Dan

-
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] WriteMetabaseChanges: failed to open '/LM/W3SVC/4/' key, retrying 0 time(s)...

2007-08-21 Thread Pierson Lee (Volt)
Were these changes made to  version 3 also?


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Rob Mensching
Sent: Thursday, August 16, 2007 12:46 PM
To: Surendra Katari; wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] WriteMetabaseChanges: failed to open '/LM/W3SVC/4/' 
key, retrying 0 time(s)...

There were bugs that were fixed in the last couple months around this sort of 
thing.  I highly recommend you get the latest stable build.

From: Surendra Katari
Sent: Thursday, August 16, 2007 12:44 PM
To: Rob Mensching; wix-users@lists.sourceforge.net
Cc: Marc McClure
Subject: RE: [WiX-users] WriteMetabaseChanges: failed to open '/LM/W3SVC/4/' 
key, retrying 0 time(s)...

2.0.5210.0

From: Rob Mensching
Sent: Thursday, August 16, 2007 12:44 PM
To: Surendra Katari; wix-users@lists.sourceforge.net
Cc: Marc McClure
Subject: RE: [WiX-users] WriteMetabaseChanges: failed to open '/LM/W3SVC/4/' 
key, retrying 0 time(s)...

What version of the WiX toolset are you using?

From: Surendra Katari
Sent: Thursday, August 16, 2007 9:38 AM
To: Rob Mensching; wix-users@lists.sourceforge.net
Cc: Marc McClure
Subject: RE: [WiX-users] WriteMetabaseChanges: failed to open '/LM/W3SVC/4/' 
key, retrying 0 time(s)...

When every we see these messages, most of the times, the web sites are not 
created. But install completes successfully.  When we try to uninstall of the 
product it fail because the sites are not present.  Any work around to avoid 
this situation?

Thanks,
Surendra

From: Rob Mensching
Sent: Thursday, August 16, 2007 7:24 AM
To: Surendra Katari; wix-users@lists.sourceforge.net
Subject: RE: [WiX-users] WriteMetabaseChanges: failed to open '/LM/W3SVC/4/' 
key, retrying 0 time(s)...

IIS has this strange locking behavior on Metabase keys that would often mess 
with deployment (since we often touch so many different keys).  What you're 
seeing is an informational message that a retry was necessary and if things 
proceeded without failure then that last retry was successful.

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Surendra Katari
Sent: Wednesday, August 15, 2007 4:17 PM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] WriteMetabaseChanges: failed to open '/LM/W3SVC/4/' key, 
retrying 0 time(s)...


Hi all,

We create a MSI which configures couple of websites and application pools. Some 
time the installer fail to create the Websites without any errors. But we see 
the following messages in the MSI log when this happens, but setup completes 
successfully.

WriteMetabaseChanges:  failed to open '/LM/W3SVC/4/' key, retrying 0 time(s)...

Are there any specific reasons for this error messages?  Why setup fail or 
rollback in this when WriteMetabaseChanges:  failed to open '/LM/W3SVC/4/' key?


Thanks,
Surendra
[EMAIL PROTECTED]
Office: 425-705-5079
Mobile: 425-830-1917
-
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] Can Wix V3 be used on a shipping product?

2007-08-21 Thread Dan Hoeger
I remember seeing a statement a while back that said that V3 should not be used 
on a product that is shipping any time soon.

Has that status changed?

If so what build should I use?

Thanks,

Dan
-
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] Change IIS asp.net version

2007-08-21 Thread daniel . gibbons
Hi,
 
I'm using wix v2.0.5206.0.  Is there anyway I can change the asp.net version 
for an IIS application either using built in command or custom action?  I've 
been looking around but can't find much on this.
 
Thanks
 
Dan

This e-mail is confidential and may well also be legally privileged. If you 
have received it in error, you are on notice of its status. Please notify us 
immediately by reply e-mail and then delete this message from your system. 
Please do not copy it or use it for any purposes, or disclose its contents to 
any other person: to do so could be a breach of confidence. Thank you for your 
co-operation. Please contact our IT Helpdesk on +44 (0) 20 7785 2000 or email 
[EMAIL PROTECTED] if you need assistance.

Please refer to http://www.freshfields.com/legalnotice/uk.asp for regulatory 
information relating to the provision of insurance mediation services. 

-
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] Rollback not rolling all back

2007-08-21 Thread Reggie Burnett
On 8/20/07, Bob Arnson <[EMAIL PROTECTED]> wrote:
>
> Please keep *wix-users* on the thread.
>

Oops.  I hit reply instead of reply all.  Sorry

 Reggie Burnett wrote:
>
> Sure.  However, what didn't roll back was not a custom action.  A custom
> action failed and it was a GAC registration that didn't roll back.
>
>
> If you use MSI GAC support, assemblies aren't installed to the GAC until
> after the installation has been committed. Rollback isn't possible after
> InstallFinalize.
>

That explains it.  However, it's still contradictory to users when the
installer clearly tells them that no changes have been made to their system
and that is a lie.  :)
-
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] Custom Action - HowTo call a function from a dll?

2007-08-21 Thread Ziegelwanger, Silvio


Export your Method correct in C# as dll-EntryPoint


Greets

Silvio



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Alexei
Sent: Dienstag, 21. August 2007 11:36
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Custom Action - HowTo call a function from a
dll?


You need to have your .dll in the binary folder under where your wxs is.
That
is:
C:\WiXSource\WixProj1\mysource.wxs
and
C:\WiXSource\WixProj1\Binary\InstallUtil.dll

However you might also want to check whether you want to use an
immediate
custom action or a deferred CA. If you're editing files that are
installed,
or system state, then it will have to be deferred.

Afraid I can't help much with your first question about managed CAs -
I've
always went with the rule of thumb which says "Managed CAs are bad"

Have a look  http://www.tramontana.co.hu/wix/lesson3.php#3.3 here  and
maybe
it'll help a little, not exactly on managed CAs but still...

Hope that helps, at least a little...


Chris-445 wrote:
> 
> Sorry, this is probably a common question...
> Is it possible to call a function of a C#-dll with a custom action?
How 
> does it work? Or is it only possible to call C++ - dll's
> I added following to my wxs but with the installation I get an error 
> that the dll wasn't found - that doesn't change when I enter the 
> absolute path:
> .
> 
>  Execute="immediate" Return="check" />
> .
> 
>   
> 
> 
> 

-- 
View this message in context:
http://www.nabble.com/Custom-Action---HowTo-call-a-function-from-a-dll--
tf4304091.html#a12251411
Sent from the wix-users mailing list archive at Nabble.com.



-
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

-
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] Usage of WebDir Element....

2007-08-21 Thread Ziegelwanger, Silvio
Use WebVirtualDir(like me in WIXv3)

 

 

 













 

 

 

Greets

 

Silvio

 

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Abhishek,HiRePro
Sent: Dienstag, 21. August 2007 15:03
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Usage of WebDir Element

 

Hi,

 

Please any one help me to host a directory in IIS using WebDir Element..

 

I did not get any examples and syntax for using it please send the code
how to use this element..

 

Thanks

 

-
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] Usage of WebDir Element....

2007-08-21 Thread Abhishek,HiRePro
Hi,

 

Please any one help me to host a directory in IIS using WebDir Element..

 

I did not get any examples and syntax for using it please send the code how
to use this element..

 

Thanks

 

-
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] ListBox vs ComboBox

2007-08-21 Thread md5hans

Hi!

Using the sample code in the tutorial
"http://www.tramontana.co.hu/wix/lesson10.php"; I have managed to fill a
listbox with values from a c++ dll. I would like to use a ComboBox instead
but can not get it to work.

I have tried the following:

  
...
  
  
  

(That is changing the Type to ComboBox)

and in the c++ code

extern "C" UINT __stdcall FillPackageList (MSIHANDLE hInstall) {
  HRESULT hResult = WcaInitialize (hInstall, "FillPackageList");
  if (FAILED (hResult)) return ERROR_INSTALL_FAILURE;

  MSIHANDLE hTable = NULL;
  MSIHANDLE hColumns = NULL;

  hResult = WcaAddTempRecord (&hTable, &hColumns, L"ComboBox", 0, 3,
L"LISTBOXVALUES", 1, L"C:\\Program Files\\Common Files\\GeoSE\\Norden\\");
  hResult = WcaAddTempRecord (&hTable, &hColumns, L"ComboBox", 0, 3,
L"LISTBOXVALUES", 2, L"C:\\Program Files\\Common Files\\GeoSE\\Sverige\\");

  if (hTable)
MsiCloseHandle (hTable);
  if (hColumns)
MsiCloseHandle (hColumns);
  return WcaFinalize (hResult);
} // FillPackageList


(Changing the third parameter in the WcaAddTempRecord from ListBox to
ComboBox)
When a run the MSI there is an error and the log says

Action start 13:21:40: FillPackageList.
MSI (c) (04:08) [13:21:40:489]: Invoking remote custom action. DLL:
C:\DOCUME~1\haol\LOCALS~1\Temp\MSI14C8.tmp, Entrypoint: FillPackageList
MSI (c) (04:2C) [13:21:40:489]: Cloaking enabled.
MSI (c) (04:2C) [13:21:40:489]: Attempting to enable all disabled priveleges
before calling Install on Server
MSI (c) (04:2C) [13:21:40:489]: Connected to service for CA interface.
MSI (c) (04!D8) [13:21:40:582]: Note: 1: 2205 2:  3: ComboBox 
MSI (c) (04!D8) [13:21:40:582]: Note: 1: 2228 2:  3: ComboBox 4: SELECT *
FROM `ComboBox` 
FillListbox:  Error 0x8007064f: failed to open view on database
FillListbox:  Error 0x8007064f: failed to openexecute temp view with query
SELECT * FROM `ComboBox`
MSI (c) (04!D8) [13:21:40:582]: Note: 1: 2205 2:  3: ComboBox 
MSI (c) (04!D8) [13:21:40:582]: Note: 1: 2228 2:  3: ComboBox 4: SELECT *
FROM `ComboBox` 
FillListbox:  Error 0x8007064f: failed to open view on database
FillListbox:  Error 0x8007064f: failed to openexecute temp view with query
SELECT * FROM `ComboBox`
Action ended 13:21:40: FillPackageList. Return value 3.
Action ended 13:21:40: INSTALL. Return value 3.
MSI (c) (04:BC) [13:21:40:582]: Destroying RemoteAPI object.
MSI (c) (04:2C) [13:21:40:582]: Custom Action Manager thread ending.

Have I missed something basic here? I thought that filling a ListBox and a
ComboBox would be almost identical...

Best regards Hans
-- 
View this message in context: 
http://www.nabble.com/ListBox-vs-ComboBox-tf4304757.html#a12253311
Sent from the wix-users mailing list archive at Nabble.com.


-
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] Deciding if an UI should be shown based on a property?

2007-08-21 Thread Rob Hamflett
You can condition whichever action shows your first UI dialog based on the 
property that may or may 
not have been set on the command line.

Rob

md5hans wrote:
> Hi!
> 
> I have created a installtion that have some propeperties that controls where
> the application should be installed. So far the installation has been
> started with these values set by the commandline. Now I want to add a UI
> where the user can for example browse for the folder where the application
> should be installed. Is there a way to have a condition that decides at
> installtime if the UI should be used or not.? The conditionion could be that
> if the property that contains the install path in not set then the UI is
> shown, otherwise the installation is run without an UI.
> 
> Is this possible or do I need to create two installation packages? one for
> "silent installs" and one for user interaction installation...
> 
> Kind regards Hans


-
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] Deciding if an UI should be shown based on a property?

2007-08-21 Thread md5hans

Hi!

I have created a installtion that have some propeperties that controls where
the application should be installed. So far the installation has been
started with these values set by the commandline. Now I want to add a UI
where the user can for example browse for the folder where the application
should be installed. Is there a way to have a condition that decides at
installtime if the UI should be used or not.? The conditionion could be that
if the property that contains the install path in not set then the UI is
shown, otherwise the installation is run without an UI.

Is this possible or do I need to create two installation packages? one for
"silent installs" and one for user interaction installation...

Kind regards Hans
-- 
View this message in context: 
http://www.nabble.com/Deciding-if-an-UI-should-be-shown-based-on-a-property--tf4304451.html#a12252395
Sent from the wix-users mailing list archive at Nabble.com.


-
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 cancel an installation (using CancelDlg)?

2007-08-21 Thread Alexei

What you could also do, which isn't quite as "nice" is:




(Notice the different Event and Value)
This doesn't ask the user for confirmation however which is why I said it's
not as "nice"


md5hans wrote:
> 
> Hi!
> 
> sorry, I should have done some more research before posting my question,
> when I linked Light with WixUIExtension it worked fine. The only strange
> thing is that the CancelDialog is placed in the upper middle part of the
> screen, does anybody now why?
> 
> /Hans
> 
> 
> md5hans wrote:
>> 
>> I'm trying to create a simple UI in WIX (3.0) and have run into trouble
>> at a very early state... I have a Dialog that is shown before the
>> installation starts and in that dialog I want a Cancel button that exits
>> the installation if the user press it (Really basic stuff, I feel a bit
>> stupid having to ask about this). I have looked at some examples and thay
>> are usually something like this:
>> 
>> > Height="17" Cancel="yes" Text="Cancel">
>>   1
>> 
>> 
>> If the user presses the Cancel button a new (Modal) dialog is shown, the
>> CancelDlg dialog, is this dialog a predifined dialog? or must I define it
>> myself?
>> 
>> When I put the statement above in my wix configuration and try to compile
>> it I get an error from Light:
>> 
>> error LGHT0094 : Unresolved reference to symbol 'Dialog:EndDialog' in
>> section 'Product:{4668686C-CD5D-4344-96EF-577787F467A2}'
>> 
>> Do I have to "include" something when running Light?
>> 
>> Best regards Hans
>> 
>> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/How-to-cancel-an-installation-%28using-CancelDlg%29--tf4303433.html#a12251414
Sent from the wix-users mailing list archive at Nabble.com.


-
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] Custom Action - HowTo call a function from a dll?

2007-08-21 Thread Alexei

You need to have your .dll in the binary folder under where your wxs is. That
is:
C:\WiXSource\WixProj1\mysource.wxs
and
C:\WiXSource\WixProj1\Binary\InstallUtil.dll

However you might also want to check whether you want to use an immediate
custom action or a deferred CA. If you're editing files that are installed,
or system state, then it will have to be deferred.

Afraid I can't help much with your first question about managed CAs - I've
always went with the rule of thumb which says "Managed CAs are bad"

Have a look  http://www.tramontana.co.hu/wix/lesson3.php#3.3 here  and maybe
it'll help a little, not exactly on managed CAs but still...

Hope that helps, at least a little...


Chris-445 wrote:
> 
> Sorry, this is probably a common question...
> Is it possible to call a function of a C#-dll with a custom action? How 
> does it work? Or is it only possible to call C++ - dll's
> I added following to my wxs but with the installation I get an error 
> that the dll wasn't found - that doesn't change when I enter the 
> absolute path:
> .
> 
>  Execute="immediate" Return="check" />
> .
> 
>   
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Custom-Action---HowTo-call-a-function-from-a-dll--tf4304091.html#a12251411
Sent from the wix-users mailing list archive at Nabble.com.


-
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] Custom Action - HowTo call a function from a dll?

2007-08-21 Thread Chris
Sorry, this is probably a common question...
Is it possible to call a function of a C#-dll with a custom action? How 
does it work? Or is it only possible to call C++ - dll's
I added following to my wxs but with the installation I get an error 
that the dll wasn't found - that doesn't change when I enter the 
absolute path:
.


.

  




-
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 cancel an installation (using CancelDlg)?

2007-08-21 Thread md5hans

Hi!

sorry, I should have done some more research before posting my question,
when I linked Light with WixUIExtension it worked fine. The only strange
thing is that the CancelDialog is placed in the upper middle part of the
screen, does anybody now why?

/Hans


md5hans wrote:
> 
> I'm trying to create a simple UI in WIX (3.0) and have run into trouble at
> a very early state... I have a Dialog that is shown before the
> installation starts and in that dialog I want a Cancel button that exits
> the installation if the user press it (Really basic stuff, I feel a bit
> stupid having to ask about this). I have looked at some examples and thay
> are usually something like this:
> 
>  Height="17" Cancel="yes" Text="Cancel">
>   1
> 
> 
> If the user presses the Cancel button a new (Modal) dialog is shown, the
> CancelDlg dialog, is this dialog a predifined dialog? or must I define it
> myself?
> 
> When I put the statement above in my wix configuration and try to compile
> it I get an error from Light:
> 
> error LGHT0094 : Unresolved reference to symbol 'Dialog:EndDialog' in
> section 'Product:{4668686C-CD5D-4344-96EF-577787F467A2}'
> 
> Do I have to "include" something when running Light?
> 
> Best regards Hans
> 
> 

-- 
View this message in context: 
http://www.nabble.com/How-to-cancel-an-installation-%28using-CancelDlg%29--tf4303433.html#a12250918
Sent from the wix-users mailing list archive at Nabble.com.


-
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] A bug in the ConfigureSmb?

2007-08-21 Thread Ivan A. Gusev
Here is parts of verbose log that correspond to execute sequences. 
First InstallFinalize (for Version1 uninstall):

Action start 10:57:26: InstallFinalize.
MSI (s) (44:F0) [10:57:26:194]: Running Script: C:\WINDOWS\Installer\MSI16.tmp
MSI (s) (44:F0) [10:57:26:194]: PROPERTY CHANGE: Adding UpdateStarted property. 
Its value is '1'.
MSI (s) (44:F0) [10:57:26:194]: Machine policy value 'DisableRollback' is 0
MSI (s) (44:F0) [10:57:26:225]: Note: 1: 1402 2: 
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\Rollback\Scripts
 3: 2 
MSI (s) (44:F0) [10:57:26:240]: Executing op: 
Header(Signature=1397708873,Version=301,Timestamp=924145454,LangId=1033,Platform=0,ScriptType=1,ScriptMajorVersion=21,ScriptMinorVersion=4,ScriptAttributes=0)
MSI (s) (44:F0) [10:57:26:240]: Executing op: 
ProductInfo(ProductKey={BE490661-4E3A-4297-928E-94A7D9FCF5AB},ProductName=Your 
Product,PackageName=Version1.msi,Language=1033,Version=16777216,Assignment=0,ObsoleteArg=0,,,PackageCode={3B64B69A-D3F6-4B05-8B3F-F14CA6F7D2C5},,,InstanceType=0,LUASetting=0,RemoteURTInstalls=0)
MSI (s) (44:F0) [10:57:26:240]: SHELL32::SHGetFolderPath returned: C:\Documents 
and Settings\Johnny\Application Data
MSI (s) (44:F0) [10:57:26:240]: Executing op: DialogInfo(Type=0,Argument=1033)
MSI (s) (44:F0) [10:57:26:240]: Executing op: DialogInfo(Type=1,Argument=Your 
Product)
MSI (s) (44:F0) [10:57:26:240]: Executing op: 
RollbackInfo(,RollbackAction=Rollback,RollbackDescription=Rolling back 
action:,RollbackTemplate=[1],CleanupAction=RollbackCleanup,CleanupDescription=Removing
 backup files,CleanupTemplate=File: [1])
MSI (s) (44:F0) [10:57:26:240]: Executing op: SetBaseline(Baseline=0,)
MSI (s) (44:F0) [10:57:26:240]: Executing op: SetBaseline(Baseline=1,)
MSI (s) (44:F0) [10:57:26:240]: Executing op: 
ActionStart(Name=InstallInitialize,,)
MSI (s) (44:F0) [10:57:26:240]: Executing op: 
ProductUnregister(UpgradeCode={80EF85B0-4728-49C1-9BEC-1A9E9226BFB4})
MSI (s) (44:F0) [10:57:26:240]: Note: 1: 1402 2: 
UNKNOWN\Products\166094EBA3E4792429E8497A9DCF5FBA\Transforms 3: 2 
MSI (s) (44:F0) [10:57:26:240]: Note: 1: 1402 2: 
UNKNOWN\Products\166094EBA3E4792429E8497A9DCF5FBA\Transforms 3: 2 
MSI (s) (44:F0) [10:57:26:240]: Scheduling file 
'C:\WINDOWS\Installer\fdea2.msi' for deletion during post-install cleanup (not 
post-reboot).
MSI (s) (44:F0) [10:57:26:256]: Note: 1: 1402 2: 
UNKNOWN\Products\166094EBA3E4792429E8497A9DCF5FBA\Usage 3: 2 
MSI (s) (44:F0) [10:57:26:256]: Executing op: ProductCPDisplayInfoUnregister()
MSI (s) (44:F0) [10:57:26:256]: Executing op: 
ProductUnpublish(PackageKey={3B64B69A-D3F6-4B05-8B3F-F14CA6F7D2C5})
MSI (s) (44:F0) [10:57:26:256]: Executing op: 
UpgradeCodeUnpublish(UpgradeCode={80EF85B0-4728-49C1-9BEC-1A9E9226BFB4})
MSI (s) (44:F0) [10:57:26:272]: Executing op: ProductUnpublishClient(,,)
MSI (s) (44:F0) [10:57:26:272]: Note: 1: 1402 2: 
UNKNOWN\Installer\Products\166094EBA3E4792429E8497A9DCF5FBA 3: 2 
MSI (s) (44:F0) [10:57:26:272]: Executing op: SourceListUnpublish(,)
MSI (s) (44:F0) [10:57:26:272]: Note: 1: 1402 2: 
UNKNOWN\Installer\Products\166094EBA3E4792429E8497A9DCF5FBA\SourceList 3: 2 
MSI (s) (44:F0) [10:57:26:272]: Executing op: 
ActionStart(Name=ProcessComponents,Description=Updating component registration,)
MSI (s) (44:F0) [10:57:26:272]: Executing op: 
ProgressTotal(Total=1,Type=1,ByteEquivalent=24000)
MSI (s) (44:F0) [10:57:26:272]: Executing op: 
ComponentUnregister(ComponentId={1484290C-D866-4E41-8F2F-79EFF1C8A671},,BinaryType=0,)
MSI (s) (44:F0) [10:57:26:272]: Executing op: 
ActionStart(Name=UnpublishFeatures,Description=Unpublishing Product 
Features,Template=Feature: [1])
MSI (s) (44:F0) [10:57:26:272]: Executing op: 
FeatureUnpublish(Feature=ProductFeature,,Absent=2,Component=KvPZ)LUu0APY0{uPpoTL)
MSI (s) (44:F0) [10:57:26:272]: Note: 1: 1402 2: 
UNKNOWN\Installer\Features\166094EBA3E4792429E8497A9DCF5FBA 3: 2 
MSI (s) (44:F0) [10:57:26:272]: Executing op: 
ActionStart(Name=RemoveFolders,Description=Removing folders,Template=Folder: 
[1])
MSI (s) (44:F0) [10:57:26:272]: Executing op: FolderRemove(Folder=C:\Program 
Files\My Application Directory\Transfer\,Foreign=0)
MSI (s) (44:F0) [10:57:26:334]: Executing op: ActionStart(Name=RemoveUser,,)
MSI (s) (44:F0) [10:57:26:334]: Executing op: 
CustomActionSchedule(Action=RemoveUser,ActionType=11777,Source=BinaryData,Target=**,CustomActionData=**)
MSI (s) (44:F0) [10:57:26:350]: Executing op: 
ActionStart(Name=InstallFiles,Description=Copying new files,Template=File: [1], 
 Directory: [9],  Size: [6])
MSI (s) (44:F0) [10:57:26:350]: Executing op: InstallProtectedFiles(AllowUI=1)
MSI (s) (44:F0) [10:57:26:350]: Executing op: ActionStart(Name=DropSmb,,)
MSI (s) (44:F0) [10:57:26:350]: Executing op: 
CustomActionSchedule(Action=DropSmb,ActionType=11777,Source=BinaryData,Target=**,CustomActionData=**)
MSI (s) (44:F0) [10:57:26:350]: Executing op: 
ActionStart(Name=PublishProduct,Description=Publishing prod

[WiX-users] How to cancel an installation (using CancelDlg)?

2007-08-21 Thread md5hans

I'm trying to create a simple UI in WIX (3.0) and have run into trouble at a
very early state... I have a Dialog that is shown before the installation
starts and in that dialog I want a Cancel button that exits the installation
if the user press it (Really basic stuff, I feel a bit stupid having to ask
about this). I have looked at some examples and thay are usually something
like this:


  1


If the user presses the Cancel button a new (Modal) dialog is shown, the
CancelDlg dialog, is this dialog a predifined dialog? or must I define it
myself?

When I put the statement above in my wix configuration and try to compile it
I get an error from Light:

error LGHT0094 : Unresolved reference to symbol 'Dialog:EndDialog' in
section 'Product:{4668686C-CD5D-4344-96EF-577787F467A2}'

Do I have to "include" something when running Light?

Best regards Hans

-- 
View this message in context: 
http://www.nabble.com/How-to-cancel-an-installation-%28using-CancelDlg%29--tf4303433.html#a12249503
Sent from the wix-users mailing list archive at Nabble.com.


-
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