Comments (3)
Usage example:
var project = new Project("My Product",
new Dir(@"%ProgramFiles%\My Company\My Product",
new Dir(@"%ProgramFiles%\My Company\My Product",
new InternetShortcut
{
Name = "Wix# project page",
Target = "https://github.com/oleg-shilo/wixsharp"
},
...
from wixsharp.
Hi @oleg-shilo, do you know of a easy way to use InternetShortcut
and make it conditional? What I am looking for is only installing shortcuts (to our help files) if a certain Feature
is installed.
It looks like InternetShortcut
is different than FileShortcut
and does not have Condition
.
from wixsharp.
Though it has Feature
. This is probably what you are looking for:
var all = new Feature("Complete product");
var project =
new Project("My Product",
new Dir(@"%ProgramFiles%\My Company\My Product",
new InternetShortcut
{
Name = "Wix# project page",
Target = "https://github.com/oleg-shilo/wixsharp",
Feature = all
}
...
from wixsharp.
Related Issues (20)
- WixSharp NET Core UI Project HOT 3
- Write Filename with Path on InstallDialog HOT 24
- SetVersionFromFileId not working for relative path in Managed Project Dir HOT 3
- Azure pipeline build HOT 4
- If you enter the project name in Chinese, a question mark is displayed on the installation package HOT 6
- WixSharp-wix4.WPF 2.1.2 Can you smoothly upgrade to. NET8 HOT 2
- Install directory path changes when MSI is run second time through msexec command ADDLOCAL parameter HOT 1
- The installation directory value is incorrect HOT 2
- Dialog Data transfer problem HOT 2
- Add Ignore Errors a driver installer to Bundle HOT 1
- Allow specifying the Group name when adding a FirewallException HOT 2
- I would like to set a features directory path by the user in wix# ManagedUI HOT 3
- Execute CA which needed Powershell in Version 5.1 HOT 6
- Is there support for 4 digit version upgrade? HOT 2
- How to debug the installer script using csscript.exe ? HOT 3
- GetResourceBitmap Method is failing resulting in a Null Pointer exception HOT 1
- Unable to set property value from Session Object in a Custom WPF Dialog HOT 4
- Asking for reboot after unistalling HOT 3
- Digital Signature with relative certificate path not working HOT 4
- How to show all installing Files in control , for example userconrol or listbox, in Bundle WPF C# HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wixsharp.