[WiX-users] How to close MSI Dialog without clicking on FINISH pushbutton?

2012-02-13 Thread ppremk
Hi guys,
I have been trying to close an MSI dialog from a custom dialog I created and
have not been able to.
I read some post here:

http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/What-does-Custom-OnExit-do-td5807840.html

http://msdn.microsoft.com/en-us/library/aa369543(v=VS.85).aspx

http://blogs.technet.com/b/alexshev/archive/2008/10/16/from-msi-to-wix-part-20-user-interface-required-dialog-boxes.aspx



The following is my code:

Dialog Id=PreReqDlg Width=370 Height=270 Title=[ProductName] Setup
...
Control Id=Prerequisites Type=PushButton X=98 Y=243 Width=70
Height=17  Default=yes Cancel=yes
Text=!(loc.FatalErrorPrerequisites)
Publish Event=DoAction Value=LaunchPrerequisitesURL Order=1
1/Publish
Publish Event=EndDialog Value=Exit Order =2 1/Publish
/Control  

...
/Dialog

...

AdminUISequence
Show Dialog=MyFatalError OnExit=error Overridable=yes /
Show Dialog=PreReqDlg OnExit=suspend Overridable=yes /
/AdminUISequence  

InstallUISequence
Show Dialog=MyFatalError OnExit=error Overridable=yes /
Show Dialog=PreReqDlg OnExit=suspend Overridable=yes /
/InstallUISequence


The problem is that I keep getting routed back to the last screen which is
the Exit Dialog or in my case the MyFatalError dialog. Here I need to
click on the finish button to ensure that the MSI dialog is shutdown.

Can anyone please help point out what I am missing?
Thanks

--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/How-to-close-MSI-Dialog-without-clicking-on-FINISH-pushbutton-tp7279763p7279763.html
Sent from the wix-users mailing list archive at Nabble.com.

--
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Applying System Security Policies via WiX (Windows Install in General)

2012-02-13 Thread Andy Clugston
All,

Is there a way to apply system policies similar to how one would use
secedit.exe? I currently have a custom action that runs secedit.exe which
works fine, but the trouble is that my current approach does not work well
with localized versions of Windows (i.e. the command line arguments
specified are not the same as the English locale).

Are there built-in Windows Installer or WiX features that I can use to
perform this task instead? I have not found anything but that does not mean
I didn't miss it either.

Thanks.
--
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] WixQueryOsWellKnownSID

2012-02-13 Thread Andy Clugston
Hello,

I am attempting to use the WixQueryOsWellKnownSID action to query the
localized group names for the Administrators and Users groups. In general,
per the log file the action appears to be running and exiting but is still
returning the English spelling of these groups thus causing the install
package to fail (cannot locate the group names since they are misspelled).
This is running on a Portuguese version of Windows 7 Professional. Using
released version of WiX 3.0.

This is how the source is using the action and properties:

PropertyRef Id=WIX_ACCOUNT_ADMINISTRATORS /
PropertyRef Id=WIX_ACCOUNT_USERS /

util:Group Id=UsersGroup Name=[WIX_ACCOUNT_USERS]/
util:Group Id=AdministratorsGroup Name=[WIX_ACCOUNT_ADMINISTRATORS]/

Within the User element referencing the groups like so...

util:GroupRef Id=UsersGroup/
util:GroupRef Id=AdministratorsGroup/

Is there something I am doing wrong, or does this action only support a
subset of all possible languages?

Is there a way to specify the names by common SID and avoid this action
altogether?

Thanks.
--
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Return a BOOL value from deferred CA to WIX

2012-02-13 Thread Ananda Doddagatte
Hi,

 

I am Ananda. D . Our driver Installation package has developed using
WIX. We used dpinst.exe to install drivers in a C# Custom Action DLL.
Dpinst returns a value about the status of the drivers installed, it may
have Restart. I got the values successfully in C# CA. But I need to
inform the WIX to restart the computer after installation of whole
package.

 

I am using the following line to restart the computer after
installation.

ScheduleReboot After=InstallFinalizeRebootRequired =
true/ScheduleReboot

 

The RebootRequired property can set in CA if it is called as
immediate but if is called as deferred. We must call that CA as
deferred.

Is there any way to return a Boolean or String value from C# deferred CA
to WIX?

 

It may help us for other CA also. Awaiting for reply.

 

 

Thanks and Regards,

Ananda. D

 

--
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Return a BOOL value from deferred CA to WIX

2012-02-13 Thread Peter Shirtcliffe
This has come up before
http://sourceforge.net/mailarchive/message.php?msg_id=28519297


-Original Message-
From: Ananda Doddagatte [mailto:anan...@virident.com] 
Sent: 13 February 2012 12:44
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Return a BOOL value from deferred CA to WIX

Hi,

 

I am Ananda. D . Our driver Installation package has developed using
WIX. We used dpinst.exe to install drivers in a C# Custom Action DLL.
Dpinst returns a value about the status of the drivers installed, it may
have Restart. I got the values successfully in C# CA. But I need to
inform the WIX to restart the computer after installation of whole
package.

 

I am using the following line to restart the computer after
installation.

ScheduleReboot After=InstallFinalizeRebootRequired =
true/ScheduleReboot

 

The RebootRequired property can set in CA if it is called as
immediate but if is called as deferred. We must call that CA as
deferred.

Is there any way to return a Boolean or String value from C# deferred CA
to WIX?

 

It may help us for other CA also. Awaiting for reply.

 

 

Thanks and Regards,

Ananda. D

 

-
-
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users
SDL PLC confidential, all rights reserved.
If you are not the intended recipient of this mail SDL requests and requires 
that you delete it without acting upon or copying any of its contents, and we 
further request that you advise us.
SDL PLC is a public limited company registered in England and Wales.  
Registered number: 02675207.
Registered address: Globe House, Clivemont Road, Maidenhead, Berkshire SL6 7DY, 
UK.


--
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] How To Run Custom Action During Install But Not During Uninstall

2012-02-13 Thread sttaq
I was trying to follow the step mentioned in this thread but on compiling I
get the following exception:

C:\...\xyz.wxs(204) : error CNDL0024 : The CustomAction element contains
illegal inner text: 'NOT Installed'.  It may not contain inner text unless
the Script attribute is specified. make: *** [C:/.../Release/xyz
i.wixobj] Error 24

The custom action that i have here is a managed c# dll and without any inner
text it is working perfectly fine. The only problem is that it is being
called both at install and uninstall time whereas I would like it to be
called only during the install time. I might be missing something here but I
am not sure where I went wrong and would appreciate any help. Thanks

--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/How-To-Run-Custom-Action-During-Install-But-Not-During-Uninstall-tp6395892p7280693.html
Sent from the wix-users mailing list archive at Nabble.com.

--
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] How To Run Custom Action During Install But Not During Uninstall

2012-02-13 Thread sttaq
Ok my mistake in reading the post - it was supposed to be in Custom and not
in CustomAction tag. Thanks

--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/How-To-Run-Custom-Action-During-Install-But-Not-During-Uninstall-tp6395892p7280721.html
Sent from the wix-users mailing list archive at Nabble.com.

--
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] How To Run Custom Action During Install But Not During Uninstall

2012-02-13 Thread John Cooper
It's sounds like you're trying to do something like:

CustomAction Id=MyCustomAction
NOT Installed
/CustomAction

But you can't put the conditional there.  You have to put the conditional in a 
Custom element in either the InstallExecuteSequence or the InstallUISequence 
(or both).

InstallExecuteSequence
Custom Action=MyCustom Action After=CostFinalize
NOT Installed
/Custom
/InstallExecute Sequence


--
John Merryweather Cooper
Build  Install Engineer - ESA
Jack Henry  Associates, Inc.(r)
Shawnee Mission, KS  66227
Office:  913-341-3434 x791011
jocoo...@jackhenry.com
www.jackhenry.com 



-Original Message-
From: sttaq [mailto:tt...@hotmail.com] 
Sent: Monday, February 13, 2012 9:29 AM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] How To Run Custom Action During Install But Not During 
Uninstall

I was trying to follow the step mentioned in this thread but on compiling I get 
the following exception:

C:\...\xyz.wxs(204) : error CNDL0024 : The CustomAction element contains 
illegal inner text: 'NOT Installed'.  It may not contain inner text unless the 
Script attribute is specified. make: *** [C:/.../Release/xyz i.wixobj] Error 24

The custom action that i have here is a managed c# dll and without any inner 
text it is working perfectly fine. The only problem is that it is being called 
both at install and uninstall time whereas I would like it to be called only 
during the install time. I might be missing something here but I am not sure 
where I went wrong and would appreciate any help. Thanks

--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/How-To-Run-Custom-Action-During-Install-But-Not-During-Uninstall-tp6395892p7280693.html
Sent from the wix-users mailing list archive at Nabble.com.

--
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers is just 
$99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style 
Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users
NOTICE: This electronic mail message and any files transmitted with it are 
intended
exclusively for the individual or entity to which it is addressed. The message, 
together with any attachment, may contain confidential and/or privileged 
information.
Any unauthorized review, use, printing, saving, copying, disclosure or 
distribution 
is strictly prohibited. If you have received this message in error, please 
immediately advise the sender by reply email and delete all copies.


--
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] How To Run Custom Action During Install But Not During Uninstall

2012-02-13 Thread sttaq
Yes I realized it and its working now - what a blunder. Thanks

--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/How-To-Run-Custom-Action-During-Install-But-Not-During-Uninstall-tp6395892p7280809.html
Sent from the wix-users mailing list archive at Nabble.com.

--
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Applying System Security Policies via WiX (Windows Install in General)

2012-02-13 Thread Rob Mensching
Not that I'm aware of but if you built a data driven custom action, it'd be
great if you could contribute it back to the community so the next person
needing this could find it. smile/

On Mon, Feb 13, 2012 at 3:53 AM, Andy Clugston clug...@gmail.com wrote:

 All,

 Is there a way to apply system policies similar to how one would use
 secedit.exe? I currently have a custom action that runs secedit.exe which
 works fine, but the trouble is that my current approach does not work well
 with localized versions of Windows (i.e. the command line arguments
 specified are not the same as the English locale).

 Are there built-in Windows Installer or WiX features that I can use to
 perform this task instead? I have not found anything but that does not mean
 I didn't miss it either.

 Thanks.

 --
 Try before you buy = See our experts in action!
 The most comprehensive online learning library for Microsoft developers
 is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
 Metro Style Apps, more. Free future releases when you subscribe now!
 http://p.sf.net/sfu/learndevnow-dev2
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users




-- 
virtually, Rob Mensching - http://RobMensching.com LLC
--
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] dealing with functions that throw exceptions

2012-02-13 Thread Wilson, Phil
C++ custom actions have a defined signature that includes expected return 
values. 

http://msdn.microsoft.com/en-us/library/windows/desktop/aa368072(v=vs.85).aspx

You may be able to store the message in a property or anywhere else (registry?) 
to retrieve later. 

Phil W 
-Original Message-
From: Sean Farrow [mailto:sean.far...@seanfarrow.co.uk] 
Sent: Sunday, February 12, 2012 6:37 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] dealing with functions that throw exceptions

Hi;
I am currently writing a custom action dll in c++ for an installer. I've got a 
function provided that throws c++ exceptions.
What I'd like to do is return S_FALSE plus the exception message if an 
exception is thrown. Has anyone got any macrows to do this?
Any help appreciated.
Cheers
Sean.

--
Virtualization  Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
___
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 3rd Floor, 40 Grosvenor Place, London, SW1X 
7AW (Registered number 166023). For a list of European legal entities within 
the Invensys Group, please go to http://www.invensys.com/en/legal/default.aspx.

You may contact Invensys plc on +44 (0)20 3155 1200 or e-mail 
recept...@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).



--
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] warning message LGHT1076 : ICE60

2012-02-13 Thread TimM
I have the same issue, and the files that I am including are 3rd party files
so we can not change them.

I tried the DefaultLanguage = 0 and I then get a LGHT1101 warning. So that
does not solve the issue. So if we can not get rid of the LGHT1076  warning
I guess we would have to just ignore it

Thanks,

Tim.

--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/warning-message-LGHT1076-ICE60-tp697522p7281681.html
Sent from the wix-users mailing list archive at Nabble.com.

--
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Managed CustomActions not compiling with latest WiX 3.6 version

2012-02-13 Thread Trent255
In order to be able to compile my CA, I changed the line:

UsingTask TaskName=ReadRegistry AssemblyFile=$(WixTasksPath)/

To:

UsingTask TaskName=ReadRegistry AssemblyFile=C:\Program Files (x86)\WiX
Toolset v3.6\bin\WixTasks.dll/

in the file: C:\Program Files
(x86)\MSBuild\Microsoft\WiX\v3.x\wix.ca.targets

I think that was all although if there is a WixTasks.dll in the above
mentioned folder, delete it (I don't have a working machine in front of me
at the moment so I'm not able to check.)

Restart Visual Studio before you try to compile.

--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Managed-CustomActions-not-compiling-with-latest-WiX-3-6-version-tp7273033p7281769.html
Sent from the wix-users mailing list archive at Nabble.com.

--
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] WiX training in the US (or at least in English)?

2012-02-13 Thread Trent255
Hi
Someone asked about WIX training in Europe in a previous thread and there
was at least two German courses, but are there anyone doing courses in the
US or anywhere else in the world in English?

--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/WiX-training-in-the-US-or-at-least-in-English-tp7281827p7281827.html
Sent from the wix-users mailing list archive at Nabble.com.

--
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] WiX and dynamic file linking

2012-02-13 Thread TimM
Danish, 

The tool that you were creating to help with Dynamic linking of files to a
WiX install is it done yet? If so where can we get it to try it out? 

Now I am really new to WiX and therefore do not know the in's or out's of it
as I have been using InstallShield for quit some time now. Now I also try to
stay away from Dynamically linking files/folders, but in the cases where I
have to use it I would usually do each folder as a separate component and
then for each one I would add a static versioned file to set as the key
file. 

This way the component name/ID remain the same and so does the key file for
each build. It does not then matter if files are added or removed from the
component and therefore the build generation between versions are still
compatable for Minor/Patch creation. 

So does your tool handle that? I just know that if the key files, component
ID changes between each build will break minor upgrade/patch creation and
therefore not work as we need. Also as stated we will not have folders
dynamically linked as this will definitly break Minor Upgrade/Patch
creation. 

So what do you do in these cases? 

Thanks, 

Tim Mayert. 


--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/WiX-and-dynamic-file-linking-tp688166p7281979.html
Sent from the wix-users mailing list archive at Nabble.com.

--
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Managed CustomActions not compiling with latest WiX 3.6 version

2012-02-13 Thread Rob Mensching
I think this is fixed in the next build.

On Mon, Feb 13, 2012 at 12:19 PM, Trent255 trent...@gmail.com wrote:

 In order to be able to compile my CA, I changed the line:

 UsingTask TaskName=ReadRegistry AssemblyFile=$(WixTasksPath)/

 To:

 UsingTask TaskName=ReadRegistry AssemblyFile=C:\Program Files (x86)\WiX
 Toolset v3.6\bin\WixTasks.dll/

 in the file: C:\Program Files
 (x86)\MSBuild\Microsoft\WiX\v3.x\wix.ca.targets

 I think that was all although if there is a WixTasks.dll in the above
 mentioned folder, delete it (I don't have a working machine in front of me
 at the moment so I'm not able to check.)

 Restart Visual Studio before you try to compile.

 --
 View this message in context:
 http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Managed-CustomActions-not-compiling-with-latest-WiX-3-6-version-tp7273033p7281769.html
 Sent from the wix-users mailing list archive at Nabble.com.


 --
 Try before you buy = See our experts in action!
 The most comprehensive online learning library for Microsoft developers
 is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
 Metro Style Apps, more. Free future releases when you subscribe now!
 http://p.sf.net/sfu/learndevnow-dev2
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users




-- 
virtually, Rob Mensching - http://RobMensching.com LLC
--
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] WiX and dynamic file linking

2012-02-13 Thread Rob Mensching
Uhh, where did you hear that it was okay to add and remove files from a
Component during an minor upgrade/patch? That definitely does not work
correctly in all scenarios.

On Mon, Feb 13, 2012 at 1:19 PM, TimM timmay...@smarttech.com wrote:

 Danish,

 The tool that you were creating to help with Dynamic linking of files to a
 WiX install is it done yet? If so where can we get it to try it out?

 Now I am really new to WiX and therefore do not know the in's or out's of
 it
 as I have been using InstallShield for quit some time now. Now I also try
 to
 stay away from Dynamically linking files/folders, but in the cases where I
 have to use it I would usually do each folder as a separate component and
 then for each one I would add a static versioned file to set as the key
 file.

 This way the component name/ID remain the same and so does the key file for
 each build. It does not then matter if files are added or removed from the
 component and therefore the build generation between versions are still
 compatable for Minor/Patch creation.

 So does your tool handle that? I just know that if the key files, component
 ID changes between each build will break minor upgrade/patch creation and
 therefore not work as we need. Also as stated we will not have folders
 dynamically linked as this will definitly break Minor Upgrade/Patch
 creation.

 So what do you do in these cases?

 Thanks,

 Tim Mayert.


 --
 View this message in context:
 http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/WiX-and-dynamic-file-linking-tp688166p7281979.html
 Sent from the wix-users mailing list archive at Nabble.com.


 --
 Try before you buy = See our experts in action!
 The most comprehensive online learning library for Microsoft developers
 is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
 Metro Style Apps, more. Free future releases when you subscribe now!
 http://p.sf.net/sfu/learndevnow-dev2
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users




-- 
virtually, Rob Mensching - http://RobMensching.com LLC
--
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Patching and Pyro Warning PYRO1110

2012-02-13 Thread Elfe Xu
With someone's help, I figured out the approach.
After CostFinalize action, before InstallValidate action, add a customer
action, say UpdateFeatureChange, which changes the feature's reqire state
accordingly.
In DTF, it is as simple as 
FeatureInfo featureA2= this.Session.Features[FeatureA2];
featureA2.RequestState = InstallState.Absent; // Or
Local/Source/Advertise... according to other conditions
The DTF is using MsiSetFeatureState API to set the state.
The condition is complex, because I need to handle different scenarios like
repair/change/update/uninstall.
However, this is a workable approach.

--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Patching-and-Pyro-Warning-PYRO1110-tp7256794p7282912.html
Sent from the wix-users mailing list archive at Nabble.com.

--
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Return a BOOL value from deferred CA to WIX

2012-02-13 Thread Ananda Doddagatte
Hi,

 

Thanks for your reply, the post you mentioned contains the following:

 

There's a Wix built-in custom action called WixCheckRebootRequired
that

runs after instalfinalize. An examination of the source code for that
might

help you work out how it's done if there are no quick answers on here.

Perhaps the deferred actions set a flag (like a global atom) that's
checked

ouside the script execution phase in that CA.

 

 

In this they have mentioned that there might be global atom to set a
flag (In Red color). Is there any option like that? Please help me to
know this, I am wasting too much of time for finding this answer.

 

Thanks and Regards,
Ananda. D

 

 

-Original Message-
From: Peter Shirtcliffe [mailto:pshirtcli...@sdl.com] 
Sent: Monday, February 13, 2012 7:21 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Return a BOOL value from deferred CA to WIX

 

This has come up before

http://sourceforge.net/mailarchive/message.php?msg_id=28519297

 

 

-Original Message-

From: Ananda Doddagatte [mailto:anan...@virident.com] 

Sent: 13 February 2012 12:44

To: wix-users@lists.sourceforge.net

Subject: [WiX-users] Return a BOOL value from deferred CA to WIX

 

Hi,

 

 

I am Ananda. D . Our driver Installation package has developed using

WIX. We used dpinst.exe to install drivers in a C# Custom Action DLL.

Dpinst returns a value about the status of the drivers installed, it may

have Restart. I got the values successfully in C# CA. But I need to

inform the WIX to restart the computer after installation of whole

package.

 

 

I am using the following line to restart the computer after

installation.

 

ScheduleReboot After=InstallFinalizeRebootRequired =

true/ScheduleReboot

 

 

The RebootRequired property can set in CA if it is called as

immediate but if is called as deferred. We must call that CA as

deferred.

 

Is there any way to return a Boolean or String value from C# deferred CA

to WIX?

 

 

It may help us for other CA also. Awaiting for reply.

 

 

 

Thanks and Regards,

 

Ananda. D

 

 


-

-

Try before you buy = See our experts in action!

The most comprehensive online learning library for Microsoft developers

is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,

Metro Style Apps, more. Free future releases when you subscribe now!

http://p.sf.net/sfu/learndevnow-dev2

___

WiX-users mailing list

WiX-users@lists.sourceforge.net

https://lists.sourceforge.net/lists/listinfo/wix-users

SDL PLC confidential, all rights reserved.

If you are not the intended recipient of this mail SDL requests and
requires that you delete it without acting upon or copying any of its
contents, and we further request that you advise us.

SDL PLC is a public limited company registered in England and Wales.
Registered number: 02675207.

Registered address: Globe House, Clivemont Road, Maidenhead, Berkshire
SL6 7DY, UK.

 

 


--

Try before you buy = See our experts in action!

The most comprehensive online learning library for Microsoft developers

is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,

Metro Style Apps, more. Free future releases when you subscribe now!

http://p.sf.net/sfu/learndevnow-dev2

___

WiX-users mailing list

WiX-users@lists.sourceforge.net

https://lists.sourceforge.net/lists/listinfo/wix-users

 

--
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] IIS7 Site Id

2012-02-13 Thread Neil Sleightholm
The setting is still available in IIS7/7.5 and if you manually set the id in 
WiX then the state works ok. I think this is an ASP.NET issue rather than IIS 
but will do some more checking and report back (or more usefully apply a patch).

Neil

-Original Message-
From: Rob Mensching [mailto:r...@robmensching.com] 
Sent: 12 February 2012 06:48
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] IIS7 Site Id

I thought the IIS CA was fixed for IIS7 to create an id that was correct even 
for web farms. That or maybe the setting is gone in IIS7.

On Sun, Feb 5, 2012 at 6:01 AM, Neil Sleightholm n...@x2systems.com wrote:

 In WiX 3.0 code was added (defect 2219545) to allow the 
 WebSite/@SiteId attribute to be set to * to indicate that it should 
 set the site id to the hash of the site name (WebSite/@Description), 
 this code is still present in WiX 3.5 for IIS6 but not IIS7. This now 
 means that when sites are installed in a web farm the site id is 
 dependent on the install order and therefore causes problems with 
 ASP.NET applications that use session state as the ASP.NET session state 
 database is indexed by the site id.

 Was there are reason for not including this code in the IIS7 
 implementation?

 Neil

 Neil Sleightholm
 X2 Systems Limited
 n...@x2systems.commailto:n...@x2systems.com


 --
  Try before you buy = See our experts in action!
 The most comprehensive online learning library for Microsoft 
 developers is just $99.99! Visual Studio, SharePoint, SQL - plus 
 HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you 
 subscribe now!
 http://p.sf.net/sfu/learndevnow-dev2
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users




--
virtually, Rob Mensching - http://RobMensching.com LLC
--
Virtualization  Cloud Management Using Capacity Planning Cloud computing makes 
use of virtualization - but cloud computing also focuses on allowing computing 
to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users




--
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users