Re: [WiX-users] WixShellExec not running application on exit

2013-01-30 Thread John J. Hughes II
No it was not in the references, I normally have to search external to the
WiX doc to find answers.  Think it was an answer in stackoverflow which I
know needs to be taken with a grain of salt ;)

Thanks,
John J. Hughes II

-Original Message-
From: Bob Arnson [mailto:b...@joyofsetup.com] 
Sent: Tuesday, January 29, 2013 23:01
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] WixShellExec not running application on exit

On 28-Jan-13 16:24, John J. Hughes II wrote:
 I have searched the web for  Error 2896  which seems to say it is a 
 UAC problem but I also found references that say WixShellExec which 
 prompt if need for UAC permission so I would not expect that to be a 
 problem but I am new to the toolset.
Hopefully none of these references was in the WiX doc. Immediate custom
actions cannot launch elevated processes, regardless of manifesting.

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



--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_jan
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_jan
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] WixShellExec not running application on exit

2013-01-29 Thread Bob Arnson
On 28-Jan-13 16:24, John J. Hughes II wrote:
 I have searched the web for  Error 2896  which seems to say it is a UAC
 problem but I also found references that say WixShellExec which prompt if
 need for UAC permission so I would not expect that to be a problem but I am
 new to the toolset.
Hopefully none of these references was in the WiX doc. Immediate custom 
actions cannot launch elevated processes, regardless of manifesting.

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


--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_jan
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] WixShellExec not running application on exit

2013-01-28 Thread John J. Hughes II
I have added the statement to run my application on exit if box is check but
it is throwing an error, see below.  Using VS2012 and XML Toolst 3.7.1224.0
and windows 7.  Application requires UAC to run if that matters, I have
tried running the installer from admin command prompt and not.

Code in WXS file: **
Property Id=WixShellExecTarget
Value=[#$(var.TopupManagerConsole.TargetFileName)] /
CustomAction Id=LaunchApplication
BinaryKey=WixCA
DllEntry=WixShellExec
Impersonate=yes /

UI
  Publish Dialog=ExitDialog
  Control=Finish
  Event=DoAction
  Value=LaunchApplicationWIXUI_EXITDIALOGOPTIONALCHECKBOX = 1 and
NOT Installed/Publish
/UI
Property Id=WIXUI_EXITDIALOGOPTIONALCHECKBOXTEXT Value=Launch
$(var.ProductName) /

Log error message: ***
Action 14:19:51: ExitDialog. Dialog created
Action 14:19:53: LaunchApplication. 
Action start 14:19:53: LaunchApplication.
Action ended 14:19:54: LaunchApplication. Return value 3.
DEBUG: Error 2896:  Executing action LaunchApplication failed.
The installer has encountered an unexpected error installing this
package. This may indicate a problem with this package. The error code is
2896.   The arguments are: LaunchApplication, , 
Action ended 14:19:54: ExitDialog. Return value 3.

Thanks in advance,
John J. Hughes II
Senior Software Engineer
Function Group | Function Technology Limited





--
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnnow-d2d
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] WixShellExec not running application on exit

2013-01-28 Thread Steven Ogilvie
Your value for WIXUI_EXITDIALOGOPTIONALCHECKBOX is incorrect 

Property Id=WIXUI_EXITDIALOGOPTIONALCHECKBOX Value=1/
Property Id=WIXUI_EXITDIALOGOPTIONALCHECKBOXTEXT Value=Launch your app 
now... /

Publish Dialog=ExitDialog Control=Finish Event=DoAction 
Value=CA_LaunchWebSite WIXUI_EXITDIALOGOPTIONALCHECKBOX = 1 and NOT 
Installed/Publish

Property Id=WixShellExecTarget Value=http://localhost:[WEB_SITE_PORT]/; 
/
CustomAction Id=CA_LaunchWebSite BinaryKey=WixCA 
DllEntry=WixShellExec Impersonate=yes /

-Original Message-
From: John J. Hughes II [mailto:jj...@functioninternational.com] 
Sent: January-28-13 2:58 PM
To: 'General discussion for Windows Installer XML toolset.'
Subject: [WiX-users] WixShellExec not running application on exit

I have added the statement to run my application on exit if box is check but it 
is throwing an error, see below.  Using VS2012 and XML Toolst 3.7.1224.0 and 
windows 7.  Application requires UAC to run if that matters, I have tried 
running the installer from admin command prompt and not.

Code in WXS file: **
Property Id=WixShellExecTarget
Value=[#$(var.TopupManagerConsole.TargetFileName)] /
CustomAction Id=LaunchApplication
BinaryKey=WixCA
DllEntry=WixShellExec
Impersonate=yes /

UI
  Publish Dialog=ExitDialog
  Control=Finish
  Event=DoAction
  Value=LaunchApplicationWIXUI_EXITDIALOGOPTIONALCHECKBOX = 1 and 
NOT Installed/Publish
/UI
Property Id=WIXUI_EXITDIALOGOPTIONALCHECKBOXTEXT Value=Launch 
$(var.ProductName) /

Log error message: ***
Action 14:19:51: ExitDialog. Dialog created
Action 14:19:53: LaunchApplication. 
Action start 14:19:53: LaunchApplication.
Action ended 14:19:54: LaunchApplication. Return value 3.
DEBUG: Error 2896:  Executing action LaunchApplication failed.
The installer has encountered an unexpected error installing this 
package. This may indicate a problem with this package. The error code is
2896.   The arguments are: LaunchApplication, , 
Action ended 14:19:54: ExitDialog. Return value 3.

Thanks in advance,
John J. Hughes II
Senior Software Engineer
Function Group | Function Technology Limited





--
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, 
Windows 8 Apps, JavaScript and much more. Keep your skills current with 
LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. 
ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnnow-d2d
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

--
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnnow-d2d
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] WixShellExec not running application on exit

2013-01-28 Thread John J. Hughes II
Sorry I don't understand.  Adding a value for
WIXUI_EXITDIALOGOPTIONALCHECKBOX just checks the check box by default, it
does not change the problem as far as I can see.


-Original Message-
From: Steven Ogilvie [mailto:steven.ogil...@titus.com] 
Sent: Monday, January 28, 2013 15:07
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] WixShellExec not running application on exit

Your value for WIXUI_EXITDIALOGOPTIONALCHECKBOX is incorrect 

Property Id=WIXUI_EXITDIALOGOPTIONALCHECKBOX Value=1/ Property
Id=WIXUI_EXITDIALOGOPTIONALCHECKBOXTEXT Value=Launch your app now...
/

Publish Dialog=ExitDialog Control=Finish Event=DoAction
Value=CA_LaunchWebSite WIXUI_EXITDIALOGOPTIONALCHECKBOX = 1 and NOT
Installed/Publish

Property Id=WixShellExecTarget
Value=http://localhost:[WEB_SITE_PORT]/; /
CustomAction Id=CA_LaunchWebSite BinaryKey=WixCA
DllEntry=WixShellExec Impersonate=yes /

-Original Message-
From: John J. Hughes II [mailto:jj...@functioninternational.com]
Sent: January-28-13 2:58 PM
To: 'General discussion for Windows Installer XML toolset.'
Subject: [WiX-users] WixShellExec not running application on exit

I have added the statement to run my application on exit if box is check but
it is throwing an error, see below.  Using VS2012 and XML Toolst 3.7.1224.0
and windows 7.  Application requires UAC to run if that matters, I have
tried running the installer from admin command prompt and not.

Code in WXS file: **
Property Id=WixShellExecTarget
Value=[#$(var.TopupManagerConsole.TargetFileName)] /
CustomAction Id=LaunchApplication
BinaryKey=WixCA
DllEntry=WixShellExec
Impersonate=yes /

UI
  Publish Dialog=ExitDialog
  Control=Finish
  Event=DoAction
  Value=LaunchApplicationWIXUI_EXITDIALOGOPTIONALCHECKBOX = 1 and
NOT Installed/Publish
/UI
Property Id=WIXUI_EXITDIALOGOPTIONALCHECKBOXTEXT Value=Launch
$(var.ProductName) /

Log error message: ***
Action 14:19:51: ExitDialog. Dialog created
Action 14:19:53: LaunchApplication. 
Action start 14:19:53: LaunchApplication.
Action ended 14:19:54: LaunchApplication. Return value 3.
DEBUG: Error 2896:  Executing action LaunchApplication failed.
The installer has encountered an unexpected error installing this
package. This may indicate a problem with this package. The error code is
2896.   The arguments are: LaunchApplication, , 
Action ended 14:19:54: ExitDialog. Return value 3.

Thanks in advance,
John J. Hughes II
Senior Software Engineer
Function Group | Function Technology Limited






--
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC,
Windows 8 Apps, JavaScript and much more. Keep your skills current with
LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and
experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnnow-d2d
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


--
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC,
Windows 8 Apps, JavaScript and much more. Keep your skills current with
LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and
experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnnow-d2d
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


--
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnnow-d2d
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] WixShellExec not running application on exit

2013-01-28 Thread Steven Ogilvie
I have mine set to 1
You have yours set to Launch $(var.ProductName)

Just try changing the value, also your target app why do you have the # in the 
element? Value=[#$(var.TopupManagerConsole.TargetFileName)]

-Original Message-
From: John J. Hughes II [mailto:jj...@functioninternational.com] 
Sent: January-28-13 3:31 PM
To: 'General discussion for Windows Installer XML toolset.'
Subject: Re: [WiX-users] WixShellExec not running application on exit

Sorry I don't understand.  Adding a value for WIXUI_EXITDIALOGOPTIONALCHECKBOX 
just checks the check box by default, it does not change the problem as far as 
I can see.


-Original Message-
From: Steven Ogilvie [mailto:steven.ogil...@titus.com]
Sent: Monday, January 28, 2013 15:07
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] WixShellExec not running application on exit

Your value for WIXUI_EXITDIALOGOPTIONALCHECKBOX is incorrect 

Property Id=WIXUI_EXITDIALOGOPTIONALCHECKBOX Value=1/ Property 
Id=WIXUI_EXITDIALOGOPTIONALCHECKBOXTEXT Value=Launch your app now...
/

Publish Dialog=ExitDialog Control=Finish Event=DoAction
Value=CA_LaunchWebSite WIXUI_EXITDIALOGOPTIONALCHECKBOX = 1 and NOT 
Installed/Publish

Property Id=WixShellExecTarget
Value=http://localhost:[WEB_SITE_PORT]/; /
CustomAction Id=CA_LaunchWebSite BinaryKey=WixCA
DllEntry=WixShellExec Impersonate=yes /

-Original Message-
From: John J. Hughes II [mailto:jj...@functioninternational.com]
Sent: January-28-13 2:58 PM
To: 'General discussion for Windows Installer XML toolset.'
Subject: [WiX-users] WixShellExec not running application on exit

I have added the statement to run my application on exit if box is check but it 
is throwing an error, see below.  Using VS2012 and XML Toolst 3.7.1224.0 and 
windows 7.  Application requires UAC to run if that matters, I have tried 
running the installer from admin command prompt and not.

Code in WXS file: **
Property Id=WixShellExecTarget
Value=[#$(var.TopupManagerConsole.TargetFileName)] /
CustomAction Id=LaunchApplication
BinaryKey=WixCA
DllEntry=WixShellExec
Impersonate=yes /

UI
  Publish Dialog=ExitDialog
  Control=Finish
  Event=DoAction
  Value=LaunchApplicationWIXUI_EXITDIALOGOPTIONALCHECKBOX = 1 and 
NOT Installed/Publish
/UI
Property Id=WIXUI_EXITDIALOGOPTIONALCHECKBOXTEXT Value=Launch 
$(var.ProductName) /

Log error message: ***
Action 14:19:51: ExitDialog. Dialog created
Action 14:19:53: LaunchApplication. 
Action start 14:19:53: LaunchApplication.
Action ended 14:19:54: LaunchApplication. Return value 3.
DEBUG: Error 2896:  Executing action LaunchApplication failed.
The installer has encountered an unexpected error installing this 
package. This may indicate a problem with this package. The error code is
2896.   The arguments are: LaunchApplication, , 
Action ended 14:19:54: ExitDialog. Return value 3.

Thanks in advance,
John J. Hughes II
Senior Software Engineer
Function Group | Function Technology Limited






--
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, 
Windows 8 Apps, JavaScript and much more. Keep your skills current with 
LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. 
ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnnow-d2d
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


--
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, 
Windows 8 Apps, JavaScript and much more. Keep your skills current with 
LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. 
ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnnow-d2d
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


--
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, 
Windows 8 Apps, JavaScript and much more. Keep your skills current with 
LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. 
ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnnow-d2d
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

--
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current