Re: [WiX-users] How To Skip Custom Dilalog On Repair ?

2010-05-04 Thread Matt Johnson
Vishwajit,

The condition you are looking for is simply NOT Installed



Matt Johnson MCPD, MCTS, MCSD, MCDBA
Director of Application Development
Time America, Inc.
ma...@timeamerica.com | www.timeamerica.com


-Original Message-
From: Vishwajit Walke [mailto:vishwajit.wa...@matrikon.com] 
Sent: Sunday, May 02, 2010 10:21 PM
To: General discussion for Windows Installer XML toolset.
Subject: [WiX-users] How To Skip Custom Dilalog On Repair ?

Hi,

I've custom dialog in my wix3.0 project. My requirement is to skip the 
occurrence of this Custom Dialog on Repair.
It should be visible only at Fresh Installation.

Publish Dialog=LicenseDlg Control=Next Event=NewDialog 
Value=SharePointPortDlg [Condition to check Fresh Installation only and not 
Repair] /Publish

Any help on this would be much appreciated.

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.
--
___
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


Re: [WiX-users] How To Skip Custom Dilalog On Repair ?

2010-05-03 Thread ppremk

Hi,

I have done something similar but not during repair. this is the snippet i
had used. it might give you some idea's

1. I had extended the standard WiXUI_Mondo source that you could download. I
included the changes in a fragement of my main installer. 

2. Changed the portion which is necessary for the maintenenaceDialog part.
Note that I have also included my own custom dialog UI in the fragment
portion.

Below is some snippet that might help:

Fragment
UI Id=WixUI_MyMondo


   !-- Some standard codes --


Publish Dialog=MyConfigDlg Control=Next Event=NewDialog
Value=MyConfigDlg1/Publish
Publish Dialog=MyConfigDlg Control=Back Event=NewDialog
Value=MyConfigDlg2NOT PREVIOUSVERSIONSINSTALLED/Publish
Publish Dialog=MyConfigDlg Control=Back Event=NewDialog
Value=CustomizeDlgPREVIOUSVERSIONSINSTALLED/Publish

Publish Dialog=MyConfigDlg Control=Next Event=NewDialog
Value=VerifyReadyDlg1/Publish
Publish Dialog=VerifyReadyDlg Control=Back 
Event=NewDialog
Value=MyConfigDlg3 Order=1WixUI_InstallMode = InstallCustom OR (NOT
PREVIOUSVERSIONSINSTALLED)/Publish
Publish Dialog=VerifyReadyDlg Control=Back 
Event=NewDialog
Value=MyConfigDlg3 Order=3WixUI_InstallMode = Change OR
PREVIOUSVERSIONSINSTALLED/Publish
Publish Dialog=VerifyReadyDlg Control=Back 
Event=NewDialog
Value=MaintenanceTypeDlg Order=4WixUI_InstallMode = Repair OR
WixUI_InstallMode = Remove/Publish


UIRef Id=WixUI_Common /

 Dialog Id=MyConfigDlg1 Width=370 Height=270 Title=[ProductName]
Setup
 !-- UI logic code can be copied from existing dialog--
 /Dialog

 Dialog Id=MyConfigDlg2 Width=370 Height=270 Title=[ProductName]
Setup
 !-- UI logic code can be copied from existing dialog--
 /Dialog

/Fragment


the code snippet above is as reference, i believe you could make out the
concept.. hope this helps :)
good luck!


-- 
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/How-To-Skip-Custom-Dilalog-On-Repair-tp4995427p5001612.html
Sent from the wix-users mailing list archive at Nabble.com.

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


[WiX-users] How To Skip Custom Dilalog On Repair ?

2010-05-02 Thread Vishwajit Walke
Hi,

I've custom dialog in my wix3.0 project. My requirement is to skip the 
occurrence of this Custom Dialog on Repair.
It should be visible only at Fresh Installation.

Publish Dialog=LicenseDlg Control=Next Event=NewDialog 
Value=SharePointPortDlg [Condition to check Fresh Installation only and not 
Repair] /Publish

Any help on this would be much appreciated.

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.
--
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users