[WiX-users] R: Writing a WiX tutorial

2013-05-20 Thread Luca Bottari
Hi Natalie,
I found something useful here:

http://blogs.technet.com/b/alexshev/archive/2008/02/10/from-msi-to-wix.aspx

http://alekdavis.blogspot.it/2010/10/learning-wix-from-ground-up.html

http://www.slideshare.net/alekdavis/beginners-guide-to-windows


Best regards

Luca

-Messaggio originale-
Da: Natalie Carr [mailto:natalie.c...@measuresoft.com]
Inviato: lunedi 20 maggio 2013 11.37
A: 'General discussion for Windows Installer XML toolset.'
Oggetto: Re: [WiX-users] Writing a WiX tutorial


Hi John,

Yes that is the tutorial I am basing my own on. Just curious if anyone had
any extra tips. Thank you for yours its very helpful..:)

Natalie

-Original Message-
From: John Ludlow [mailto:john.ludlow...@gmail.com]
Sent: 20 May 2013 10:07
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Writing a WiX tutorial

Hi Natalie,

Have you seen the tutorial at http://wix.tramontana.co.hu/? You may want to
emulate this, since it's a good tutorial for general use, but you may want
one tailored to your team and your product. You should include topics on
things that you use (for example, Burn, patching and early REPs), as well as
WiX/MSI conventions and best practices. Also describe how your code is
organised and how you'd build it.

On 20 May 2013 09:30, Natalie Carr natalie.c...@measuresoft.com wrote:

 Hi,



 I have been asked to write a WiX tutorial for my colleagues to take
 over my role when I leave. Has anyone written anything like this that
 they would be willing to help me out with? I am using the WiX tutorial
 online but would like your opinions on what I should include.



 Thanks

 Natalie


 --
  AlienVault Unified Security Management (USM) platform
 delivers complete security visibility with the essential security
 capabilities. Easily and efficiently configure, manage, and operate
 all of your security controls from a single console and one unified
 framework. Download a free trial.
 http://p.sf.net/sfu/alienvault_d2d
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users


--
AlienVault Unified Security Management (USM) platform delivers complete
security visibility with the essential security capabilities. Easily and
efficiently configure, manage, and operate all of your security controls
from a single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



--
AlienVault Unified Security Management (USM) platform delivers complete
security visibility with the essential security capabilities. Easily and
efficiently configure, manage, and operate all of your security controls
from a single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


--
AlienVault Unified Security Management (USM) platform delivers complete
security visibility with the essential security capabilities. Easily and
efficiently configure, manage, and operate all of your security controls
from a single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] R: Files to install in a location other than INSTALLDIR

2012-06-29 Thread Luca Bottari
I had the same problem.
I solved it by modifying the standard dialog this way:

UI Id=ASEWixUI_InstallDir
  UIRef Id=WixUI_InstallDir /
  UIRef Id=WixUI_ErrorProgressText /
  !-- This is the standard InstallDirDlg with some controls added just
to manage the NEWLOC1 and NEWLOC2 dirs --
  Dialog Id=ASEInstallDirDlg Width=370 Height=270
Title=!(loc.InstallDirDlg_Title)
Control Id=Next Type=PushButton X=236 Y=243 Width=56
Height=17 Default=yes Text=!(loc.WixUINext) /
Control Id=Back Type=PushButton X=180 Y=243 Width=56
Height=17 Text=!(loc.WixUIBack) /
Control Id=Cancel Type=PushButton X=304 Y=243 Width=56
Height=17 Cancel=yes Text=!(loc.WixUICancel)
  Publish Event=SpawnDialog Value=CancelDlg1/Publish
/Control

Control Id=Description Type=Text X=25 Y=23 Width=280
Height=15 Transparent=yes NoPrefix=yes
Text=!(loc.InstallDirDlgDescription) /
Control Id=Title Type=Text X=15 Y=6 Width=200 Height=15
Transparent=yes NoPrefix=yes Text=!(loc.InstallDirDlgTitle) /
Control Id=BannerBitmap Type=Bitmap X=0 Y=0 Width=370
Height=44 TabSkip=no Text=!(loc.InstallDirDlgBannerBitmap) /
Control Id=BannerLine Type=Line X=0 Y=44 Width=370
Height=0 /
Control Id=BottomLine Type=Line X=0 Y=234 Width=370
Height=0 /

Control Id=FolderLabel Type=Text   X=20  Y=60
Width=290 Height=18 NoPrefix=yes
Text=!(loc.InstallDirDlgFolderLabel) /
Control Id=Folder  Type=PathEdit   X=20  Y=80
Width=272 Height=18 Property=WIXUI_INSTALLDIR Indirect=yes /
Control Id=ChangeFolderType=PushButton X=304 Y=80
Width=56  Height=17 Text=!(loc.InstallDirDlgChange) /

Control Id=ARPFolderLabel  Type=Text   X=20  Y=100
Width=290 Height=18 NoPrefix=yes Text=Enter first path /
Control Id=ARPFolder   Type=PathEdit   X=20  Y=120
Width=272 Height=18 Property=WIXUI_NEWLOC1 Indirect=yes /
Control Id=ARPChangeFolder Type=PushButton X=304 Y=120
Width=56  Height=17 Text=!(loc.InstallDirDlgChange) /

Control Id=ADCFolderLabel  Type=Text   X=20  Y=140
Width=290 Height=18 NoPrefix=yes Text=Enter second path /
Control Id=ADCFolder   Type=PathEdit   X=20  Y=160
Width=272 Height=18 Property=WIXUI_NEWLOC2 Indirect=yes /
Control Id=ADCChangeFolder Type=PushButton X=304 Y=160
Width=56  Height=17 Text=!(loc.InstallDirDlgChange) /

  /Dialog

  Publish Dialog=ASEInstallDirDlg Control=Back Event=NewDialog
Value=LicenseAgreementDlg1/Publish
  Publish Dialog=ASEInstallDirDlg Control=Next
Event=SetTargetPath Value=[WIXUI_INSTALLDIR] Order=11/Publish
  Publish Dialog=ASEInstallDirDlg Control=Next
Event=SetTargetPath Value=[WIXUI_NEWLOC1] Order=11/Publish
  Publish Dialog=ASEInstallDirDlg Control=Next
Event=SetTargetPath Value=[WIXUI_NEWLOC2] Order=11/Publish

  Publish Dialog=ASEInstallDirDlg Control=Next Event=NewDialog
Value=VerifyReadyDlg Order=41/Publish

  Publish Dialog=ASEInstallDirDlg Control=ChangeFolder
Property=_BrowseProperty Value=[WIXUI_INSTALLDIR] Order=11/Publish
  Publish Dialog=ASEInstallDirDlg Control=ChangeFolder
Event=SpawnDialog Value=BrowseDlg Order=21/Publish

  Publish Dialog=ASEInstallDirDlg Control=ARPChangeFolder
Property=_BrowseProperty Value=[WIXUI_NEWLOC1] Order=11/Publish
  Publish Dialog=ASEInstallDirDlg Control=ARPChangeFolder
Event=SpawnDialog Value=BrowseDlg Order=31/Publish

  Publish Dialog=ASEInstallDirDlg Control=ADCChangeFolder
Property=_BrowseProperty Value=[WIXUI_NEWLOC2] Order=11/Publish
  Publish Dialog=ASEInstallDirDlg Control=ADCChangeFolder
Event=SpawnDialog Value=BrowseDlg Order=21/Publish

  Publish Dialog=LicenseAgreementDlg Control=Next Event=NewDialog
Value=ASEInstallDirDlg Order=2LicenseAccepted = 1/Publish
  Publish Dialog=VerifyReadyDlg Control=Back Event=NewDialog
Value=ASEInstallDirDlg Order=2NOT Installed/Publish

/UI


Property Id=WIXUI_INSTALLDIR Value=APPLICATIONROOTDIRECTORY /
Property Id=WIXUI_NEWLOC1 Value=NEWLOC1 /
Property Id=WIXUI_NEWLOC2 Value=NEWLOC2 /


Hope this can help



-Messaggio originale-
Da: Sudripta Nandy [mailto:sudrip...@sarangsoft.co.in]
Inviato: mercoledi 27 giugno 2012 14.24
A: wix-users@lists.sourceforge.net
Oggetto: [WiX-users] Files to install in a location other than
INSTALLDIR


Hi,
In my setup, I want to install 2 files say 'abc.txt' and 'efg.txt' in a
separate location other than the default install location (INSTALLDIR). This
separate location is also user-specified and I am storing the path in a
property called 'NEWLOC1'. I also need to do a 'FileShare' of this location
in read-mode. All other files will be installed in the default install
location (INSTALLDIR) which also is user-specified. My main problem is that
I don't know how to install these two files in the separate location
([NEWLOC1]) other than INSTALLDIR.

Please help me in finding a solution to my problem.


Thanks.
With Regards,
// Sudripta.

[WiX-users] R: Use ValidatePath to validate a path different from WIXUI_INSTALLDIR

2012-06-25 Thread Luca Bottari
Can I assign my path to WIXUI_INSTALLDIR, check for validation e re-assign
back its value to my variable usign the Order property?
I would not write custom actions...
Thanks

-Messaggio originale-
Da: Bob Arnson [mailto:b...@joyofsetup.com]
Inviato: domenica 24 giugno 2012 18.36
A: wix-users@lists.sourceforge.net
Oggetto: Re: [WiX-users] Use ValidatePath to validate a path different
from WIXUI_INSTALLDIR


On 22-Jun-12 10:20, Luca Bottari wrote:
 I succeded in the replacement but I don't know how to validate the second
 path in the BrowseDlg and in Next button.
That code is only designed to check the WIXUI_INSTALLDIR property.

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





--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Use ValidatePath to validate a path different from WIXUI_INSTALLDIR

2012-06-22 Thread Luca Bottari
Hi,
I am new to Wix.
I would like to replace the InstallDirDlg with a new one that has 2
different path: the application root directory and the data directory.
I succeded in the replacement but I don't know how to validate the second
path in the BrowseDlg and in Next button.
Please help.

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Another version of this product is already installed message

2012-05-28 Thread Luca Bottari
I am new to the use of wix.
I followed the tutorial (http://wix.tramontana.co.hu/tutorial) and made
these steps:

1. Create SampleFirst.msi
2. Install SampleFirst.msi
3. Re-create SampleFirst.msi with no changes
4. execute the new SampleFirst.msi created at point 3

At the execution of the new SampleFirst.msi, a message box appears telling
me that another version of this product is already installed even if
nohing has changed.
I saw the only difference is in the auto-generated (*) Package Id.
It this behaviour correct?
I would like automate the creation and execution the .msi file for test
purpose, but this is not possible if every .msi file is different from the
other.
What can I do? If I set the Package Id a warning message appears, so I am
not sure this is the right way to solve the problem.
Please help, thanks
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users