You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a managed bootstrapper application that I have converted from Wix3 to Wix4 to Wix5.
In 3 and 4 the right-click menu on the icon in the Taskbar looked like this:
When I then converted to Wix5 it looked like this:
It does not make sense to pin an installation to the Taskbar and further when closing the installation the link is invalid, so it should not be there.
I found out that the reason there was no 'Pin to taskbar' in Wix 3 and 4 was I named my executable Setup.exe. If I rename the executable the 'Pin to taskbar' will re-appear. It is apparently a Windows thing.
In Wix5 with the Out-of-process bootstrapper application change, it it now the name of the bootstrapper application that must be Setup.exe. That can be done by setting 'AssemblyName' in the project or use the 'Name' attribute on 'BootstrapperApplication'.
My two questions:
Can I disable the 'Pin to taskbar' from the code?
Will my installation be insecure if I name my bootstrapper application 'Setup.exe' but not the installer itself?
Another interesting question is: how can you remove 'Pin to taskbar' in WixStandardBootstrapperApplication?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I have a managed bootstrapper application that I have converted from Wix3 to Wix4 to Wix5.
In 3 and 4 the right-click menu on the icon in the Taskbar looked like this:
When I then converted to Wix5 it looked like this:
It does not make sense to pin an installation to the Taskbar and further when closing the installation the link is invalid, so it should not be there.
I found out that the reason there was no 'Pin to taskbar' in Wix 3 and 4 was I named my executable Setup.exe. If I rename the executable the 'Pin to taskbar' will re-appear. It is apparently a Windows thing.
In Wix5 with the Out-of-process bootstrapper application change, it it now the name of the bootstrapper application that must be Setup.exe. That can be done by setting 'AssemblyName' in the project or use the 'Name' attribute on 'BootstrapperApplication'.
My two questions:
Another interesting question is: how can you remove 'Pin to taskbar' in WixStandardBootstrapperApplication?
/Peter
Beta Was this translation helpful? Give feedback.
All reactions