pub fn bundle_project(settings: &Settings) -> crate::Result<Vec<PathBuf>> {
  let wix_path = PathBuf::from("./WixTools");

  if !wix_path.exists() {
    wix::get_and_extract_wix(&wix_path)?;
  }

  let msi_path = wix::build_wix_app_installer(&settings, &wix_path)?;

  Ok(vec![msi_path])
}
/// Runs all of the commands to build the MSI installer.
/// Returns a vector of PathBuf that shows where the MSI was created.
Runs all of the commands to build the MSI installer.
Returns a vector of PathBuf that shows where the MSI was created.
Runs all of the commands to build the MSI installer . Returns a vector of PathBuf that shows where the MSI was created .
pub fn bundle_project(settings: &Settings) -> crate::Result<Vec<PathBuf>> {
  let wix_path = PathBuf::from("./WixTools");
  if !wix_path.exists() {
    wix::get_and_extract_wix(&wix_path)?;
  }
  let msi_path = wix::build_wix_app_installer(&settings, &wix_path)?;
  Ok(vec![msi_path])
}
pub fn bundle_project ( settings : & Settings ) -> crate :: Result < Vec < PathBuf > > { let wix_path = PathBuf :: from ( " " ) ; if ! wix_path . exists ( ) { wix :: get_and_extract_wix ( & wix_path ) ? ; } let msi_path = wix :: build_wix_app_installer ( & settings , & wix_path ) ? ; Ok ( vec ! [ msi_path ] ) }
Runs all of the commands to build the MSI installer.
Runs all of the commands to build the MSI installer .
settings
&Settings
settings
&Settings