[WiX-users] Forcing conditional feature install

2010-04-07 Thread Jeff Perrigo
Hi all,

I am trying to do an admin install of an MSI with a conditional feature and I 
need the feature to be installed regardless of the condition.  The condition is 
a property which I've tried setting on the command line, but the feature still 
isn't installed.  It appears that the condition is being ignored.  Is there a 
way with an admin install to force all features to be installed?  Any help 
would be much appreciated.

Here is the command I am running:
msiexec.exe /qn /a "myinstall.msi" TARGETDIR="C:\temp\msitest" MY_PROPERTY="#1" 
ADDLOCAL=ALL /lv*! install.log

Here is a line from my log file showing that request and action are null for 
this feature:
MSI (s) (04:64) [15:00:39:123]: Feature: FT.MyFeature; Installed: Absent;   
Request: Null;   Action: Null

Below is the authoring for my feature:

  
  


Thanks!

Jeff
--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] IIS 6.0 Detection to Skip the Custom Dialog Occurrence

2010-04-07 Thread Vishwajit Walke
Hi,

Is it possible to extend this condition to detect the version of IIS installed 
is 6 AND greater than 6 ? Currently, I'm able to detect the version # 6 with 
this. Just wanted to make this condition flexible so as to run on any platform 
having different versions of IIS.

Vishwajit

-Original Message-
From: pmdarrow [mailto:pdar...@metaworks.com]
Sent: Wednesday, April 07, 2010 7:03 AM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] IIS 6.0 Detection to Skip the Custom Dialog Occurrence


Detecting IIS is easy, link with WixIIsExtension.dll and then the following
"just works":


IISMAJORVERSION="#6"

--
View this message in context: 
http://n2.nabble.com/IIS-6-0-Detection-to-Skip-the-Custom-Dialog-Occurrence-tp4861003p4864761.html
Sent from the wix-users mailing list archive at Nabble.com.

--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

READER BEWARE: Unencrypted, unsigned Internet e-mail is inherently insecure.

Internet messages may be corrupted, incomplete, misdirected or may
incorrectly identify the sender. Therefore, nothing in this message or
attachments may be considered legally binding.

THIS MESSAGE IS ONLY INTENDED FOR THE USE OF THE INDIVIDUAL
OR ENTITY TO WHICH IT IS ADDRESSED AND MAY BE PRIVILEGED.

If you are not the intended recipient or their authorized agent, you
may not forward or copy this information and must delete or destroy all
copies of this message and attachments received.

If you have received this communication in error, please notify
Matrikon Inc. by telephone at (780) 448-1010 or emailing ad...@matrikon.com.

--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] run executable during install

2010-04-07 Thread John L Krupka

One way is to create a CustomAction using the ExeCommand attribute.  The
command line can be included as part of ExeCommand.   Then add the custom
action to your InstallExecuteSequence.  Since you want to run a file you are
installing, you will need to run the custom action after InstallFinalize as
the exe is not officially written to disk until after InstallFinalize.
-- 
View this message in context: 
http://n2.nabble.com/run-executable-during-install-tp4866225p4867518.html
Sent from the wix-users mailing list archive at Nabble.com.

--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] run executable during install

2010-04-07 Thread Andrew Ziem
My MSI installs an application called SideCIC.EXE. It needs to
initialize a Windows Event Viewer container which can be done if I run
'SideCIC.EXE /initialize'. How do I run that (with the parameter)
during the install?

I use WIX 3.0 and WarSetup 3.13.  I'm not very familiar with writing
the XML by hand, but I already modify the output of WarSetup for other
needs.


Andrew

--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Investigating use of WiX

2010-04-07 Thread Devlyn

Hello,

I have just prototyped an installer package using WiX that does all the
below you outlined (excepting SQL Server 2005 Express, not 2008) as well as
registering COM components manually (i.e not self-registering). It will be a
single easy step for your user, however, required a lot of investigative and
trial and error to work it out.

BUT...

My installer bootstraps .NET framework 3.5 and SQL Server 2005 Express (and
a couple other 3rd party items)
Installs all required files
Registers all COM components (NOT self-reg, btw!!)
Creates a new database, tables and users as well as populate the table with
data (exectuing scripts, works for stored procs as well) from the newly
installed SQL Server 2005 Express installation
Uses custom actions (C++ and C#) to work Product Key encryption and store it
in the DB
Writes registry values (from the register COM components mentioned above)

Like I said though, it can all be done, and once you figure it out, quite
easily, however, it took me about 120 hours to get it all figured out,
create my dialogs and have it work on a separate test machine. I don't know
that I have the time to actually write up a tutorial on how I accomplished
all of this, I am documenting the process for other devs here at my company,
but it's not complete yet.

In my humble opinion, WiX is well worth the effort to learn how to figure
out all this stuff. We also use Wise installer studio here and THAT sucks!!

So in conclusion, everything you mentioned below is possible, it just will
take you some effort to figure out. However, it'll take you as much if not
more to figure it out using Wise. If you're looking for a step-by-step
tutorial on how to bootstrap and setup a a SQL server instance, you'd have
to probably wait a bit before I have the time to get to that...

Oh and one more final point, the SQL server is installed and a named
instance created using credentials I provide (as the DB contains our data,
and so is not user accessible), no need for the installing user to do
anything related to entering passwords and Sa information. It's defined
during the bootstrapping process.
-- 
View this message in context: 
http://n2.nabble.com/Investigating-use-of-WiX-tp4855273p4866072.html
Sent from the wix-users mailing list archive at Nabble.com.

--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] File copying issue

2010-04-07 Thread Alexander Shevchuk (Volt)
http://blogs.technet.com/alexshev/archive/2008/03/25/property-does-not-exist-or-empty-when-accessed-from-deferred-custom-action.aspx



-Original Message-
From: Sanjay Rao [mailto:s...@noida.interrasystems.com] 
Sent: Wednesday, April 07, 2010 1:29 AM
To: General discussion for Windows Installer XML toolset.
Subject: [WiX-users] File copying issue

Hi,

I have a installer, which needs to do following steps - 1. Detect an already 
installed version.
2. if it exists, stop services.
3. install new files.
4. copy a file created by older version software into new directory.
5. start services.

For step4 I defined a custom action in C++ dll as follows -


*C++ function defined as  follows - *

__declspec(dllexport) UINT __stdcall copyFileDB(MSIHANDLE hInstall) {
try
{
char oldBatonSysDrive[MAX_PATH];
DWORD oldValueLen = MAX_PATH;
UINT uiResult =  MsiGetProperty (hInstall, "OLDBATONSYSDRIVE", 
oldBatonSysDrive, &oldValueLen);

char cNewPath[MAX_PATH];
DWORD newPathLen = MAX_PATH;
MsiGetProperty (hInstall, "BATONSYSDRIVE", cNewPath, &newPathLen);
MessageBox(NULL, oldBatonSysDrive, "Baton Install", MB_OK);
   
if( oldValueLen > 0)
{
  //some code to copy file
}

return ERROR_SUCCESS;
}
catch(...)
{
return ERROR_SUCCESS;
}
}

line highlighted in red is not able to pick the value of property, whilw other 
custom actions are able to find this value.
if remove Execute=deffered from this custom action then this custom action is 
also able to pick value.

Regards,
Sanjay Rao



--
Download Intel® Parallel Studio Eval Try the new software tools for 
yourself. Speed compiling, find bugs proactively, and fine-tune applications 
for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] skip almost dialogs on upgrade

2010-04-07 Thread lewisv

When i am doing a upgrade of my application. ( i am un-installing an
re-installing )
I would like to skip all the user interaction dialogs. 

Right now i have this in my setup
  PREVFOUND

This of course will skip the license, setuptype etc... dialogs. 
but the user still has to press next on the welcomedialog, and press next on
the verifyreadydlg

I would like to minimize the amount of clicks the user has to do. 
My best is once the msi is run, that it goes directly to the progess dialog
and starts the install. 

I do want to show the progress dialog, so the user will see the install
working. 
And during a first time install i still want to go though all the standard
dialogs. 

How do i do this?

-- 
View this message in context: 
http://n2.nabble.com/skip-almost-dialogs-on-upgrade-tp4866051p4866051.html
Sent from the wix-users mailing list archive at Nabble.com.

--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] IIS 6.0 Detection to Skip the Custom Dialog Occurrence

2010-04-07 Thread Vishwajit Walke
Thanks. It saved my lot of googling time. Much Appreciated !!

Vishwajit

-Original Message-
From: pmdarrow [mailto:pdar...@metaworks.com]
Sent: Wednesday, April 07, 2010 7:03 AM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] IIS 6.0 Detection to Skip the Custom Dialog Occurrence


Detecting IIS is easy, link with WixIIsExtension.dll and then the following
"just works":


IISMAJORVERSION="#6"

--
View this message in context: 
http://n2.nabble.com/IIS-6-0-Detection-to-Skip-the-Custom-Dialog-Occurrence-tp4861003p4864761.html
Sent from the wix-users mailing list archive at Nabble.com.

--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

READER BEWARE: Unencrypted, unsigned Internet e-mail is inherently insecure.

Internet messages may be corrupted, incomplete, misdirected or may
incorrectly identify the sender. Therefore, nothing in this message or
attachments may be considered legally binding.

THIS MESSAGE IS ONLY INTENDED FOR THE USE OF THE INDIVIDUAL
OR ENTITY TO WHICH IT IS ADDRESSED AND MAY BE PRIVILEGED.

If you are not the intended recipient or their authorized agent, you
may not forward or copy this information and must delete or destroy all
copies of this message and attachments received.

If you have received this communication in error, please notify
Matrikon Inc. by telephone at (780) 448-1010 or emailing ad...@matrikon.com.

--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Detect an internet connection

2010-04-07 Thread dB .
Implement something based on InternetOpen-set of APIs.
http://msdn.microsoft.com/en-us/library/aa383996(v=VS.85).aspx

Since you're going to be launching your survey, go against the url of the 
survey and check whether you can download a page from there.


dB. @ dblock.org 
Moscow|Geneva|Seattle|New York



-Original Message-
From: Kristoffer Danielsson [mailto:kristoffer.daniels...@live.se] 
Sent: Monday, March 22, 2010 12:11 PM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Detect an internet connection


Not sure, but I guess you have to write a custom action DLL that does some 
tricks.

Also note that checking for an internet connection is not as easy as it sounds. 
The APIs provided by Windows are not 100% reliable, so most of the time pinging 
a remote server (google.com for instance) proves to be the best solution. 
Beware of firewalls too!

 
> Date: Mon, 22 Mar 2010 10:33:59 -0500
> From: stvp...@gmail.com
> To: wix-users@lists.sourceforge.net
> Subject: [WiX-users] Detect an internet connection
> 
> Hi all,
> 
> 
> I've been tasked with launching an online survey during uninstall,
> which I have done with a custom action. However, I do not want the
> custom action to run if the user is not connected to the internet.
> 
> What is the best way to check for an internet connection and store the
> result in a property that can be used as a condition for the custom
> action?
> 
> 
> Thank you!
> 
> Steve
> 
> --
> Download Intel® Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
  
_
Mejla från tåget! Hotmail i mobilen.
http://new.windowslivemobile.msn.com/SE-SE/windows-live-hotmail/default.aspx
--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] How to validate a guid?

2010-04-07 Thread dB .
You need a CA.

It would be easy to add one to http://msiext.codeplex.com. AppSecInc::Com has 
methods that convert GUIDs to strings and vice-versa. You would need to add a 
IsValidCLSID method that doesn't throw an exception on CLSIDFromString and 
expose that as a custom action.

dB. @ dblock.org 
Moscow|Geneva|Seattle|New York



-Original Message-
From: Carolina Zuqueto Amaral [mailto:carolina.ama...@conv.com.br] 
Sent: Wednesday, April 07, 2010 9:08 AM
To: 'General discussion for Windows Installer XML toolset.'
Subject: [WiX-users] How to validate a guid?

Hi,

I have a dialog, in which there is a field that needs to be a guid.
How Do I validate this field?

Dialog:

http://schemas.microsoft.com/wix/2006/wi";>



  

  
  
  

  
  
  
  
  

  
  


  
  

  
  

  






Thanks,

Carolina Zuqueto Amaral
carolina.ama...@conv.com.br
tel +55 21 2494-5476
cel +55 21 9524-7186




Confidencialidade: A informa??o contida nesta mensagem de e-mail, incluindo 
quaisquer anexos, ? confidencial e est? reservada apenas ? pessoa ou entidade 
para a qual foi endere?ada. Se voc? n?o ? o destinat?rio ou a pessoa 
respons?vel por encaminhar esta mensagem ao destinat?rio, voc? est?, por meio 
desta, notificado que n?o dever? rever, retransmitir, imprimir, copiar, usar ou 
distribuir esta mensagem de e-mail ou quaisquer anexos. Caso voc? tenha 
recebido esta mensagem por engano, por favor, contate o remetente imediatamente 
e apague esta mensagem de seu computador ou de qualquer outro banco de dados. 
Grato.

Confidentiality Notice: The information contained in this email message, 
including any attachment, is confidential and is intended only for the person 
or entity to which it is addressed. If you are neither the intended recipient 
nor the employee or agent responsible for delivering this message to the 
intended recipient, you are hereby notified that you may not review, 
retransmit, convert to hard copy, copy, use or distribute this email message or 
any attachments to it. If you have received this email in error, please contact 
the sender immediately and delete this message from any computer or other data 
bank. Thank you.
--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Detect an internet connection

2010-04-07 Thread dB .
It's new on Vista. So pretty much a no-go for an installer on anything else.

dB. @ dblock.org 
Moscow|Geneva|Seattle|New York



-Original Message-
From: Wilson, Phil [mailto:phil.wil...@invensys.com] 
Sent: Monday, March 22, 2010 1:05 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Detect an internet connection

I'm not sure that this is the right forum for that, but I suspect that the 
IsInternetConnected() API is what you want. 

Phil Wilson 


-Original Message-
From: Steve Payne [mailto:stvp...@gmail.com] 
Sent: Monday, March 22, 2010 8:34 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Detect an internet connection

Hi all,


I've been tasked with launching an online survey during uninstall,
which I have done with a custom action.  However, I do not want the
custom action to run if the user is not connected to the internet.

What is the best way to check for an internet connection and store the
result in a property that can be used as a condition for the custom
action?


Thank you!

Steve

--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


*** Confidentiality Notice: This e-mail, including any associated or attached 
files, is intended solely for the individual or entity to which it is 
addressed. 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 the sender 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. This email comes from a division of the Invensys 
Group, owned by Invensys plc, which is a company registered in England and 
Wales with its registered office at Portland House, Bressenden Place, London, 
SW1E 5BF (Registered number 166023). For a list of European legal entities 
within the Invensys Group, please go to 
http://www.invensys.com/legal/default.asp?top_nav_id=77&nav_id=80&prev_id=77. 
You may contact Invensys plc on +44 (0)20 7821 3848 or e-mail 
inet.hqhelpd...@invensys.com. This e-mail and any attachments thereto may be 
subject to the terms of any agreements between Invensys (and/or its 
subsidiaries and affiliates) and the recipient (and/or its subsidiaries and 
affiliates).



--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] How to validate a guid?

2010-04-07 Thread Carolina Zuqueto Amaral
Hi,

I have a dialog, in which there is a field that needs to be a guid.
How Do I validate this field?

Dialog:

http://schemas.microsoft.com/wix/2006/wi";>



  

  
  
  

  
  
  
  
  

  
  


  
  

  
  

  






Thanks,

Carolina Zuqueto Amaral
carolina.ama...@conv.com.br
tel +55 21 2494-5476
cel +55 21 9524-7186




Confidencialidade: A informa??o contida nesta mensagem de e-mail, incluindo 
quaisquer anexos, ? confidencial e est? reservada apenas ? pessoa ou entidade 
para a qual foi endere?ada. Se voc? n?o ? o destinat?rio ou a pessoa 
respons?vel por encaminhar esta mensagem ao destinat?rio, voc? est?, por meio 
desta, notificado que n?o dever? rever, retransmitir, imprimir, copiar, usar ou 
distribuir esta mensagem de e-mail ou quaisquer anexos. Caso voc? tenha 
recebido esta mensagem por engano, por favor, contate o remetente imediatamente 
e apague esta mensagem de seu computador ou de qualquer outro banco de dados. 
Grato.

Confidentiality Notice: The information contained in this email message, 
including any attachment, is confidential and is intended only for the person 
or entity to which it is addressed. If you are neither the intended recipient 
nor the employee or agent responsible for delivering this message to the 
intended recipient, you are hereby notified that you may not review, 
retransmit, convert to hard copy, copy, use or distribute this email message or 
any attachments to it. If you have received this email in error, please contact 
the sender immediately and delete this message from any computer or other data 
bank. Thank you.
--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Custom Actions Best Practicies

2010-04-07 Thread dB .
Having written a lot (and I mean a lot) of custom actions 
(http://msiext.codeplex.com), the best practice for custom actions is to avoid 
them :) 

I recommend going the route of wix extensions that wrap/embed custom actions. I 
would write deferred, table-driven CAs and a lot of tests, one per task. Wix 
extensions aren't hard to implement and that will make a lot of CAs manageable. 
If you're building something useful for others, maybe you want to base yours on 
a framework and contribute. The link above could be a good start, a lot of MSI 
infrastructure has been written that makes it rather easy to implement complex 
stories around, for example, databases.

Hope this helps,
-dB.

dB. @ dblock.org 
Moscow|Geneva|Seattle|New York



-Original Message-
From: Kerber, Cameron [mailto:cameron.ker...@philips.com] 
Sent: Monday, March 29, 2010 1:21 PM
To: General discussion for Windows Installer XML toolset.
Subject: [WiX-users] Custom Actions Best Practicies

If I have a lot of custom action work going on and I mean a lot.  Is it better 
to have a few custom actions that encompass most of the work, obviously this 
can be split into multiple functions within the custom action or have a ton of 
separate custom actions?

I'm trying to weigh the pros and cons of either way, but I'm not sure what the 
best approach is


The information contained in this message may be confidential and legally 
protected under applicable law. The message is intended solely for the 
addressee(s). If you are not the intended recipient, you are hereby notified 
that any use, forwarding, dissemination, or reproduction of this message is 
strictly prohibited and may be unlawful. If you are not the intended recipient, 
please contact the sender by return e-mail and destroy all copies of the 
original message.
--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Get Current User's Credentials in custom action

2010-04-07 Thread dB .
I generally think it's a bad idea. Why would a local installation affect an 
existing web server? Why not do it on application startup?

dB. @ dblock.org 
Moscow|Geneva|Seattle|New York



-Original Message-
From: Sagar [mailto:sagarkavitak...@gmail.com] 
Sent: Wednesday, March 31, 2010 1:37 AM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Get Current User's Credentials in custom action


The reason behind calling web-service from msi is that i need to install a
file on the webserver rather than just calling copying it on target machine.
And the webserver exposes a web-service to do this.

Sagar

-- 
View this message in context: 
http://n2.nabble.com/Get-Current-User-s-Credentials-in-custom-action-tp4818201p4829184.html
Sent from the wix-users mailing list archive at Nabble.com.

--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] IIS 6.0 Detection to Skip the Custom Dialog Occurrence

2010-04-07 Thread pmdarrow

Detecting IIS is easy, link with WixIIsExtension.dll and then the following
"just works":


IISMAJORVERSION="#6"

-- 
View this message in context: 
http://n2.nabble.com/IIS-6-0-Detection-to-Skip-the-Custom-Dialog-Occurrence-tp4861003p4864761.html
Sent from the wix-users mailing list archive at Nabble.com.

--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Get Current User's Credentials in custom action

2010-04-07 Thread dB .
It sounds like your web service / server supports Negotiate, NTLM or Kerberos, 
ie. you can "just call the service" when you're logged in as some user. So now 
you're installing as that user and need to call the service. 

I think all you need is Impersonate="true" for your . 

---
http://wix.sourceforge.net/manual-wix2/wix_xsd_customaction.htm
Impersonate: This attribute specifies whether the Windows Installer, which 
executes as LocalSystem, should impersonate the user context of the installing 
user when executing this custom action. Typically the value should be 'yes', 
except when the custom action needs elevated privileges to apply changes to the 
machine.
---

Someone should confirm whether this is supported in managed CAs.

dB. @ dblock.org 
Moscow|Geneva|Seattle|New York



-Original Message-
From: Sagar [mailto:sagarkavitak...@gmail.com] 
Sent: Monday, March 29, 2010 10:27 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Get Current User's Credentials in custom action


Hi,
I have a managed C# custom action which access a webservice hosted on a 
machine over a network.
Now in this managed custom action i am getting unauthorized access error
because anonymous access is disabled on iis of that machine.

What i want is to pass the current users credentials to this c# custom
action.
Now how do i achieve this ?
Do i need to ask the user to enter his credentials in UI and then use it in
my C# custom action.
Or is there any other way to get the current users credentials (domain,
username, password).

Thanks in advance
Sagar
-- 
View this message in context: 
http://n2.nabble.com/Get-Current-User-s-Credentials-in-custom-action-tp4818201p4818201.html
Sent from the wix-users mailing list archive at Nabble.com.

--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] WiX cannot install certificate - Error 26352 installing certificate

2010-04-07 Thread Andy Clugston
One of our products is required to install three certificates.  There is a
possibility that one of our certificates may have already been pushed down
to the end user system via IT.  I have ran across an issue which appears to
mimic the issue reported in the 2184946 tracker report.

In our case, the store where the certificate lives is Certificates (Local
Computer) -> Trusted Root Certification Authorities -> Enterprise.  I have
recreated the issue on an WinXP SP3 vPC by placing the root certificate in
this store, and then attempting to install our product.  If the certificate
is not present ahead of time (removed before the MSI is executed, or never
installed at all), our product installs just fine.

FWIW, I have also created the original issue reported in 2184946 by placing
the certificate in the Group Policy store.

WixIIsExtension.dll version:  3.0.5217.0

WiX usage:





Original tracker report:

https://sourceforge.net/tracker/index.php?func=detail&aid=2184946&group_id=105970&atid=642714

Thank you.
--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Questions from a newbee

2010-04-07 Thread Pally Sandher
What doesn't work?  What does a verbose log tell you about the things
which don't work?

Palbinder Sandher 
Software Deployment & IT Administrator
T: +44 (0) 141 945 8500 
F: +44 (0) 141 945 8501 

http://www.iesve.com 
**Design, Simulate + Innovate with the **
Integrated Environmental Solutions Limited. Registered in Scotland No.
SC151456 
Registered Office - Helix Building, West Of Scotland Science Park,
Glasgow G20 0SP
Email Disclaimer


-Original Message-
From: Satish Muniyappa (3P) [mailto:satish.muniya...@citrix.com] 
Sent: 06 April 2010 21:07
To: 'wix-users@lists.sourceforge.net'
Subject: [WiX-users] Questions from a newbee

Hi,

There are two parts in my uninstall:

1.   Uninstall a driver. This one works well.

2.   Have a custom action (a dll) that alters some registry entries
that is made during a install.

I need some help with how to specify this inside
 

Right now, I have

   Installed


This does not work as expected. I guess "Before" is not correct and the
condition "Installed" is incorrect too.

Any help would be great.

Thanks,
Satish M S



--
Download Intel® Parallel Studio Eval Try the new software tools for
yourself. Speed compiling, find bugs proactively, and fine-tune
applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] IIS 6.0 Detection to Skip the Custom Dialog Occurrence

2010-04-07 Thread Pally Sandher
You don't need a Custom Action DLL.
Use a RegistrySearch to detect installation of IIS 6.0 (search the mail
archives, other people have posted what they use to do this reliably)
then condition the Publish tags which show your dialog with this
Property.

e.g.


  


  NOT DETECTIIS6
  DETECTIIS6

  NOT DETECTIIS6
  DETECTIIS6


Palbinder Sandher 
Software Deployment & IT Administrator
T: +44 (0) 141 945 8500 
F: +44 (0) 141 945 8501 

http://www.iesve.com 
**Design, Simulate + Innovate with the **
Integrated Environmental Solutions Limited. Registered in Scotland No.
SC151456 
Registered Office - Helix Building, West Of Scotland Science Park,
Glasgow G20 0SP
Email Disclaimer


-Original Message-
From: Vishwajit Walke [mailto:vishwajit.wa...@matrikon.com] 
Sent: 06 April 2010 20:56
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] IIS 6.0 Detection to Skip the Custom Dialog
Occurrence

Hi,

I'm a beginner to Wix v3.0. I'm working on the Custom Dialog to accept
the Web Application Name and the Port Number.

I've written a Custom Action dll which checks whether a web application
exists on a specific port number and I'm triggering this custom action
on "Next" Button Click in my custom dialog.

All I want to achieve is to hide ("not" allow this custom dialog to
display) if IIS 6.0 is "not" installed. And if IIS is installed, then
allow this custom dialog to appear.

Is there a way to hide a Custom Dialog based on this specific condition
?

Do I need to write the code for this purpose in my custom action dll ?
OR is it possible to achieve through Wix Extensions for IIS ?

Please suggest.

Thanks. Vishwajit.



READER BEWARE: Unencrypted, unsigned Internet e-mail is inherently
insecure.

Internet messages may be corrupted, incomplete, misdirected or may
incorrectly identify the sender. Therefore, nothing in this message or
attachments may be considered legally binding.

THIS MESSAGE IS ONLY INTENDED FOR THE USE OF THE INDIVIDUAL OR ENTITY TO
WHICH IT IS ADDRESSED AND MAY BE PRIVILEGED.

If you are not the intended recipient or their authorized agent, you may
not forward or copy this information and must delete or destroy all
copies of this message and attachments received.

If you have received this communication in error, please notify Matrikon
Inc. by telephone at (780) 448-1010 or emailing ad...@matrikon.com.

--
Download Intel® Parallel Studio Eval Try the new software tools for
yourself. Speed compiling, find bugs proactively, and fine-tune
applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Problem using 'Installed' as a condition

2010-04-07 Thread Pally Sandher
Hmm that's even more bizarre. I'm assuming it doesn't happen if you run
it with full UI? If that's the case then it points at something you're
doing in the InstallUISequence which sounds like it should be in the
InstallExecuteSequence. As you say it doesn't sound like the
bootstrapper is at fault in that case but I'd double check how they're
launching your MSI just to make sure.

Good Luck.

Palbinder Sandher 
Software Deployment & IT Administrator
T: +44 (0) 141 945 8500 
F: +44 (0) 141 945 8501 

http://www.iesve.com 
**Design, Simulate + Innovate with the **
Integrated Environmental Solutions Limited. Registered in Scotland No.
SC151456 
Registered Office - Helix Building, West Of Scotland Science Park,
Glasgow G20 0SP
Email Disclaimer


-Original Message-
From: Rob Hamflett [mailto:r...@snsys.com] 
Sent: 06 April 2010 17:18
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Problem using 'Installed' as a condition

It's a custom bootstrapper written internally but by another part of the
company.  I thought I'd investigate what was happening with the MSI
before passing it along.  I got a log of the install and found that it
was doing an install but in maintenance mode since the product was
already installed. 
  I found from my own tinkering I could reproduce the problem by running
"msiexec /i product.msi /qb".  I'll ask how they run it exactly, but it
doesn't seem right passing the buck completely given that I can cause
the error without their bootstrapper.

Rob

On 06/04/2010 16:51, Pally Sandher wrote:
> That sounds pretty bizarre. Which bootstrapper are you using which is
> causing that? A bootstrapper should either simply ShellExecute your
MSI
> or call msiexec.exe /i (which amount to the same thing essentially). I
> don't think you can set something like "Installed" on the command
line,
> AFAIK only public properties can be passed to msiexec.exe so I've no
> idea how that's even possible. Does your original code work properly
> when you run the MSI without the bootstrapper? Are you sure the
> bootstrapper isn't setting REINSTALL when it launches your MSI?
>
> Your conditions look fine if you're never going to use MSPs. You need
to
> set REINSTALL when applying an MSP so it'd thoroughly break those
> conditions but as long as you're happy to live without them they
should
> be OK. I don't think they'll interfere with major upgrades but I would
> test it first.
>
> Palbinder Sandher
> Software Deployment&  IT Administrator
> T: +44 (0) 141 945 8500
> F: +44 (0) 141 945 8501
>
> http://www.iesve.com
> **Design, Simulate + Innovate with the**
> Integrated Environmental Solutions Limited. Registered in Scotland No.
> SC151456
> Registered Office - Helix Building, West Of Scotland Science Park,
> Glasgow G20 0SP
> Email Disclaimer
>
> -Original Message-
> From: Rob Hamflett [mailto:r...@snsys.com]
> Sent: 06 April 2010 10:43
> To: wix-users@lists.sourceforge.net
> Subject: [WiX-users] Problem using 'Installed' as a condition
>
> I have discovered an issue with using 'Installed' as a condition for
> InstallExecuteSequence entries.
>I have some actions that generally go as follows:
>
> <...>
> REINSTALL OR Installed  
> <...>REINSTALL OR NOT
> Installed  <...>
>
>
> The problem is that my installer is being run by a bootstrapper that
> isn't checking if the product is already installed, so it is going
> through some kind of maintenance mode where Installed is set but
> REINSTALL isn't.  This results in MyRemoveAction being performed, but
> not MyInstallAction, which leaves me with a broken installation.  I
can
> reproduce this by reinstalling it myself and passing the /qb flag to
> msiexec.  I'm going to talk to the people who make the bootstrapper,
but
> I was wondering if the following conditions would be usable, and if
> anyone could see anything obvious that will bite me.  All upgrades we
do
> are major, no patches.
>
> For MyRemoveAction: REINSTALL OR REMOVE="ALL"
> For MyInstallAction: REINSTALL OR NOT REMOVE
>
> Thanks,
> Rob
>
>
>

> --
> Download Intel® Parallel Studio Eval Try the new software tools
for
> yourself. Speed compiling, find bugs proactively, and fine-tune
> applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
>
>
>

--
> Download Intel® Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev


---

Re: [WiX-users] Cannot start any WiX 3.0 tool

2010-04-07 Thread Markus Karg
Thank you for this information! I installed .NET 2.0 and now everything
works well. I wonder why that is not mentioned in the WiX 3.0 docs?

> -Original Message-
> From: Pally Sandher [mailto:pally.sand...@iesve.com]
> Sent: Mittwoch, 7. April 2010 11:38
> To: General discussion for Windows Installer XML toolset.
> Subject: Re: [WiX-users] Cannot start any WiX 3.0 tool
> 
> A quick check in dependency walker (http://www.dependencywalker.com/)
> of
> any of the WiX v3.0.5419.0 binaries shows them needing mscoree.dll
> version 2.0.50727.x so yes you need the .NET 2.0 Framework installed.
> 
> Palbinder Sandher
> Software Deployment & IT Administrator
> T: +44 (0) 141 945 8500
> F: +44 (0) 141 945 8501
> 
> http://www.iesve.com
> **Design, Simulate + Innovate with the **
> Integrated Environmental Solutions Limited. Registered in Scotland No.
> SC151456
> Registered Office - Helix Building, West Of Scotland Science Park,
> Glasgow G20 0SP
> Email Disclaimer
> 
> 
> -Original Message-
> From: Markus Karg [mailto:k...@quipsy.de]
> Sent: 07 April 2010 10:16
> To: General discussion for Windows Installer XML toolset.
> Subject: [WiX-users] Cannot start any WiX 3.0 tool
> 
> I've set up a clean windows XP machine, installed MSVB5 on it, and WiX
> 3.0.
> 
> I can use MSVB5 to create the EXEs which in a second step shall get
> packed into a MSI by WiX.
> 
> But when I start any WiX tool (like CANDLE or HEAT) it tells me that
it
> cannot initialize the tool.
> 
> Maybe I have to install .NET to run WiX?
> 
> 
> 
>
---
> -
> --
> Download Intel® Parallel Studio Eval Try the new software tools
> for
> yourself. Speed compiling, find bugs proactively, and fine-tune
> applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
> 
> 
> 
>
---
> ---
> Download Intel® Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users

--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Signing MSI's

2010-04-07 Thread Pally Sandher
I use a private key to sign my MSI's (.pfx file) & it works fine in
Votive using the "Post-build Event Command Line" section in the projects
property page if you use Visual Studio to build your MSI's. I build
using both the IDE & devenv.exe in a command script with no problems.

Palbinder Sandher 
Software Deployment & IT Administrator
T: +44 (0) 141 945 8500 
F: +44 (0) 141 945 8501 

http://www.iesve.com 
**Design, Simulate + Innovate with the **
Integrated Environmental Solutions Limited. Registered in Scotland No.
SC151456 
Registered Office - Helix Building, West Of Scotland Science Park,
Glasgow G20 0SP
Email Disclaimer


-Original Message-
From: Sascha Beaumont [mailto:sascha.beaum...@gmail.com] 
Sent: 07 April 2010 03:04
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Signing MSI's

I'm using nant with the candle/light tasks


On Wed, Apr 7, 2010 at 11:49 AM, ppremk
 wrote:
>
> Thanks for the input. Shall give this a shot.
>
> When you say post build script.. do you mean you are using Votive to 
> compile or from command line?
>
> thanks again.
> cheers!
> --
> View this message in context: 
> http://n2.nabble.com/Signing-MSI-s-tp4849477p4862471.html
> Sent from the wix-users mailing list archive at Nabble.com.
>
> --
>  Download Intel® Parallel Studio Eval Try the new 
> software tools for yourself. Speed compiling, find bugs proactively, 
> and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>


--
Download Intel® Parallel Studio Eval Try the new software tools for
yourself. Speed compiling, find bugs proactively, and fine-tune
applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] First run notepad with my.cfg and only then start the service

2010-04-07 Thread Viv Coco
Hi Phil,

Thanks for your answer. I wasn't aware that I was doing smth not "by the 
book". I got the idea now, and I'll change it to that.

Thx,
Viv

On 4/6/2010 7:07 PM, Wilson, Phil wrote:
> This is a case of "well I can make it work" vs "is it the right thing to do?".
>
> The installer architecture expects UI to be collected in the UI sequence 
> (fancy that!) and not in the execute sequence. Some of the reasons for that 
> are about silent install, and that UI sometime behaves oddly in that 
> situation. Also, not following the expected model typically leads to problems 
> later - if you were running custom actions in the UI sequence that required 
> elevation you got somewhat hosed when UAC came along. It's also not clear to 
> me that Microsoft will continue to let people show a UI message loop out of a 
> process running with the system account. Services can't do this because of 
> the security vulnerability.
>
> What you should be doing is collecting the data in a UI dialog and 
> associating it with public properties that a custom action in the execute 
> sequence uses to update the config file. When the install runs silently these 
> properties can be set on the msiexec command line.
>
> Phil Wilson
>
> -Original Message-
> From: Viv Coco [mailto:vcotirl...@hotmail.com]
> Sent: Tuesday, April 06, 2010 1:29 AM
> To: General discussion for Windows Installer XML toolset.
> Subject: Re: [WiX-users] First run notepad with my.cfg and only then start 
> the service
>
> I actually thought about doing it like this:
>
> [code]
> Notepad.exe
>  ExeCommand="[INSTALLDIR]my.cfg" Return="ignore" Impersonate="no"
> Execute="deferred"/>
> 
> (NOT Installed)
> AND (NOT UPGRADINGPRODUCTCODE)
> 
> [/code]
>
> This seems to be doing the job. Is this not correct?
>
> Thx,
> Viv
>
> On 4/3/2010 3:20 PM, Bob Arnson wrote:
>
>> On 4/1/2010 9:28 AM, Viv Coco wrote:
>>
>>  
>>> shown to the user to modify as needed (I give the user the chance to
>>> change it by running notepad.exe with my conf file during installing)
>>>
>>>
>>>
>> You can't run UI during InstallExecuteSequence. You should let the user
>> configure after installation.
>>
>>
>>  
>
> --
> Download Intel® Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
>
> *** Confidentiality Notice: This e-mail, including any associated or attached 
> files, is intended solely for the individual or entity to which it is 
> addressed. 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 the sender 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. This email comes from 
> a division of the Invensys Group, owned by Invensys plc, which is a company 
> registered in England and Wales with its registered office at Portland House, 
> Bressenden Place, London, SW1E 5BF (Registered number 166023). For a list of 
> European legal entities within the Invensys Group, please go to 
> http://www.invensys.com/legal/default.asp?top_nav_id=77&nav_id=80&prev_id=77. 
> You may contact Invensys plc on +44 (0)20 7821 3848 or e-mail 
> inet.hqhelpd...@invensys.com. This e-mail and any attachments thereto may be 
> subject to the terms of any agreements between Invensys (and/or its 
> subsidiaries and affiliates) and the recipient (and/or its subsidiaries and 
> affiliates).
>
>
>
> --
> Download Intel® Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
>
>



--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Cannot start any WiX 3.0 tool

2010-04-07 Thread Pally Sandher
A quick check in dependency walker (http://www.dependencywalker.com/) of
any of the WiX v3.0.5419.0 binaries shows them needing mscoree.dll
version 2.0.50727.x so yes you need the .NET 2.0 Framework installed. 

Palbinder Sandher 
Software Deployment & IT Administrator
T: +44 (0) 141 945 8500 
F: +44 (0) 141 945 8501 

http://www.iesve.com 
**Design, Simulate + Innovate with the **
Integrated Environmental Solutions Limited. Registered in Scotland No.
SC151456 
Registered Office - Helix Building, West Of Scotland Science Park,
Glasgow G20 0SP
Email Disclaimer


-Original Message-
From: Markus Karg [mailto:k...@quipsy.de] 
Sent: 07 April 2010 10:16
To: General discussion for Windows Installer XML toolset.
Subject: [WiX-users] Cannot start any WiX 3.0 tool

I've set up a clean windows XP machine, installed MSVB5 on it, and WiX
3.0.

I can use MSVB5 to create the EXEs which in a second step shall get
packed into a MSI by WiX.

But when I start any WiX tool (like CANDLE or HEAT) it tells me that it
cannot initialize the tool.

Maybe I have to install .NET to run WiX?

 


--
Download Intel® Parallel Studio Eval Try the new software tools for
yourself. Speed compiling, find bugs proactively, and fine-tune
applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Cannot start any WiX 3.0 tool

2010-04-07 Thread Markus Karg
I've set up a clean windows XP machine, installed MSVB5 on it, and WiX
3.0.

I can use MSVB5 to create the EXEs which in a second step shall get
packed into a MSI by WiX.

But when I start any WiX tool (like CANDLE or HEAT) it tells me that it
cannot initialize the tool.

Maybe I have to install .NET to run WiX?

 

--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] File copying issue

2010-04-07 Thread Sanjay Rao
Hi,

I have a installer, which needs to do following steps -
1. Detect an already installed version.
2. if it exists, stop services.
3. install new files.
4. copy a file created by older version software into new directory.
5. start services.

For step4 I defined a custom action in C++ dll as follows -


*C++ function defined as  follows - *

__declspec(dllexport) UINT __stdcall copyFileDB(MSIHANDLE hInstall)
{
try
{
char oldBatonSysDrive[MAX_PATH];
DWORD oldValueLen = MAX_PATH;
UINT uiResult =  MsiGetProperty (hInstall, "OLDBATONSYSDRIVE", 
oldBatonSysDrive, &oldValueLen);

char cNewPath[MAX_PATH];
DWORD newPathLen = MAX_PATH;
MsiGetProperty (hInstall, "BATONSYSDRIVE", cNewPath, &newPathLen);
MessageBox(NULL, oldBatonSysDrive, "Baton Install", MB_OK);
   
if( oldValueLen > 0)
{
  //some code to copy file
}

return ERROR_SUCCESS;
}
catch(...)
{
return ERROR_SUCCESS;
}
}

line highlighted in red is not able to pick the value of property, whilw 
other custom actions are able to find this value.
if remove Execute=deffered from this custom action then this custom 
action is also able to pick value.

Regards,
Sanjay Rao



--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users