1 - answered an almost identical question yesterday funnily enough with
a link to the documentation page explaining exactly how to do what
you're asking ->
http://wix.sourceforge.net/manual-wix3/WixUI_customizations.htm 

2 - That's a standard part of the WiX UI & has been for a very long time
-> http://wix.sourceforge.net/manual-wix3/run_program_after_install.htm

Both those pages are in the WiX.chm which you will have on your local
machine where you've installed WiX 3.0/3.5 & there is a shortcut in your
start menu to it too. The documentation isn't even lots of levels deep &
it's fully searchable on the web & in the .chm.

Custom dialogs aren't a weak spot in WiX, they're actually a very strong
point. The problem is people look at the stock WiX UI's & think that's
all that is available/supported rather than seeing that they're supplied
as an easy UI solution to save people time when all they want is
something pretty standard. You can drop the entire WiXUI if you wish &
author a whole custom UI from scratch in your packages. That's a drastic
step for most people but it's 100% supported & documented if you look in
the WiX documentation (see
http://wix.sourceforge.net/manual-wix3/wix_xsd_ui.htm & it's children).

You'd probably want to put your custom dialog with regards to shortcuts
before the PrepareDlg as once you hit the "install" button it's too late
to do Feature/Component conditions (which is what you'll need with
appropriate properties to do what you want to do) but it's up to you
where you want it. Replacing the exit dialog is also easily done by
reading the first link I pasted above but my guess is you won't need to
once you read the second.

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 <Virtual Environment>**
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: xxxxxx [mailto:contactnim...@googlemail.com] 
Sent: 26 May 2010 16:41
To: General discussion for Windows Installer XML toolset.
Subject: [WiX-users] Custom dialogs - once more

Hi wix users,

I admit, I am not creating wix packages the whole day long, and so I
look into wix from time to time when I need to create an installer for a
software. So far I managed to click together simple installers which
copy some files. Now I want to go one step further: what is missing in
the standard dialogs is a dialog which

- asks the user whether he wants shortcuts on the desktop, the start
menu, or both
- asks the user whether he wants to start the application right after
the installation has finished

Seems pretty easy, and is included in many installers I've seen. 
Unfortunately, even after sinking considerable time into digging
documentations (found almost none, and the ones I found rised almost as
many questions as they answered, or were wrong or incomplete or both.

Can anyone provide a sample which shows me how to do this? I have
already learned that custom dialogs are quite a weak spot in the wix
toolkit, so I don't care much wehere in the sequence the custom dialog
is inserted (before or after the installation part), thogh putting it at
the end would be the best way to do it, bit I already failed trying to
replace the exit dialog (sequence number -3) since the wix toolkit seems
to reject negative dialog numbers alltogether - so I guess tehre isn't a
way to do it in the current version.

Thanks,

AL

------------------------------------------------------------------------
------

_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



------------------------------------------------------------------------------

_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to