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="InstallFinalize">RebootRequired =

"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

Reply via email to