GithubHelp home page GithubHelp logo

Comments (11)

barnson avatar barnson commented on July 20, 2024

What is "opening window"? What does your WiX authoring look like?

from issues.

BryanCrotaz avatar BryanCrotaz commented on July 20, 2024

Opening window - the first window Wix setup shows during install.

My authoring? I've seen this term in a few places in the docs but don't know what it means.

from issues.

barnson avatar barnson commented on July 20, 2024

WiX authoring is the source code in your .wxs files. The .wixproj does not include WiX authoring.

from issues.

BryanCrotaz avatar BryanCrotaz commented on July 20, 2024
<Wix xmlns="http://wixtoolset.org/schemas/v4/wxs">
  <Fragment>
	<ComponentGroup Id="AgentServiceFiles" Directory="INSTALLFOLDER">
  	  <Component Id="ServiceExe">
        <File 
			BindPath="$(SolutionDir)AgentService\bin\release\net7.0\publish\win-x64" 
			Source="AgentService.exe"/>
		  <ServiceInstall 
			  Name="Agent"
			  DisplayName="Agent"
			  Type="ownProcess"
			  Start="auto"
			  ErrorControl="normal"	  
		  />
		  <!-- <ServiceControl/> -->
	  </Component>
	</ComponentGroup>
  </Fragment>
</Wix>

<Wix xmlns="http://wixtoolset.org/schemas/v4/wxs" >
  <Package 
	  Name="Agent"
	  Manufacturer="Silver Curve"
	  Version="1.0.0.0"
	  UpgradeCode="68c96489-4459-4f0b-8c73-e4f6f8f8ddf1"
  >
    <MajorUpgrade DowngradeErrorMessage="!(loc.DowngradeError)" />

    <Feature Id="Main">
      <ComponentGroupRef Id="AgentServiceFiles" />
    </Feature>
  </Package>
</Wix>
<Wix xmlns="http://wixtoolset.org/schemas/v4/wxs">
  <Fragment>
    <StandardDirectory Id="ProgramFiles6432Folder">
      <Directory Id="INSTALLFOLDER" Name="!(bind.Property.Manufacturer)\!(bind.Property.ProductName)" />
    </StandardDirectory>
  </Fragment>
</Wix>

from issues.

BryanCrotaz avatar BryanCrotaz commented on July 20, 2024

I can't find any documentation on how to set the ProductName variable. I've tried with SetProperty but I get an error about having a duplicate ProductName

from issues.

barnson avatar barnson commented on July 20, 2024

https://wixtoolset.org/docs/schema/wxs/package/

from issues.

BryanCrotaz avatar BryanCrotaz commented on July 20, 2024

Which of these is ProductName coming from?

Note that none of them are called ProductName, and we're not in a Product element either

  • AdminExecuteSequence
  • AdminUISequence
  • AdvertiseExecuteSequence
  • AppId
  • Binary
  • BroadcastEnvironmentChange (Util extension)
  • BroadcastSettingChange (Util extension)
  • CheckRebootRequired (Util extension)
  • CloseApplication (Util extension)
  • ComplianceCheck
  • ComPlusApplication (Complus extension)
  • ComPlusApplicationRole (Complus extension)
  • ComPlusPartition (Complus extension)
  • ComPlusPartitionRole (Complus extension)
  • Component
  • ComponentGroup
  • CustomAction
  • CustomActionRef
  • CustomTable
  • CustomTableRef
  • Directory
  • DirectoryRef
  • DotNetCompatibilityCheck (Netfx extension)
  • DotNetCompatibilityCheckRef (Netfx extension)
  • EmbeddedChainer
  • EmbeddedChainerRef
  • EnsureTable
  • ExitEarlyWithSuccess (Util extension)
  • FailWhenDeferred (Util extension)
  • Feature
  • FeatureGroupRef
  • FeatureRef
  • FindVisualStudio (Vs extension)
  • GetCapabilities (Directx extension)
  • Group (Util extension)
  • Icon
  • InstallExecuteSequence
  • InstallUISequence
  • InstanceTransforms
  • Launch
  • MajorUpgrade
  • Media
  • MediaTemplate
  • PackageCertificates
  • PatchCertificates
  • Property
  • PropertyRef
  • QueryNativeMachine (Util extension)
  • QueryWindowsDirectories (Util extension)
  • QueryWindowsDriverInfo (Util extension)
  • QueryWindowsSuiteInfo (Util extension)
  • QueryWindowsWellKnownSIDs (Util extension)
  • Requires
  • RestartResource (Util extension)
  • SetDirectory
  • SetProperty
  • SFPCatalog
  • SoftwareTag
  • SqlDatabase (Sql extension)
  • StandardDirectory
  • SummaryInformation
  • SymbolPath
  • UI
  • UIRef
  • Upgrade
  • User (Util extension)
  • WaitForEvent (Util extension)
  • WaitForEventDeferred (Util extension)
  • WebApplication (Iis extension)
  • WebAppPool (Iis extension)
  • WebDirProperties (Iis extension)
  • WebLog (Iis extension)
  • WebSite (Iis extension)
  • WixUI (Ui extension)
  • WixVariable

from issues.

BryanCrotaz avatar BryanCrotaz commented on July 20, 2024

Ohhh do you have to use a Property child?

<Package>
  <Property Name="ProductName">My Name</Property>
</Package>

from issues.

BryanCrotaz avatar BryanCrotaz commented on July 20, 2024

Submitted a docs PR to help the next person behind me
wixtoolset/web@master...BryanCrotaz:wix-web:patch-3

from issues.

barnson avatar barnson commented on July 20, 2024

Use Package/@name.

from issues.

BryanCrotaz avatar BryanCrotaz commented on July 20, 2024

I've submitted a PR to state in the docs that Product and Package are the same thing to help other newbies. Please shepherd the change through so others don't have to go through my pain.

from issues.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.