You may use link as a reference https://www.firegiant.com/wix/tutorial/
It won't help a beginner as it didn't provide any practical examples.
For a beginner, if you have a pluralsight subscription, there is a course which will teach you the basics.
'WIX-Cookbook' https://www.packtpub.com/web-development/wix-cookbook by Nick-Ramirez (Covers Wix-3.8). This is the book if anyone looking to get the job done quickly.
If you want to gain in-depth knowledge on how and why everything works, you probably better of going through Wix-3.6 A Developers Guide by the same author.
https://www.packtpub.com/application-development/wix-developers-guide-windows-installer-xml
To create an installer for websites, refer following series by Bart De Meyer
http://blog.bartdemeyer.be/2013/10/create-an-installer-for-website-with-wix-part-1/
This article will show you how to use Wix tools like Candle and Light.