-
Notifications
You must be signed in to change notification settings - Fork 177
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
impossible rename file during installation #538
Comments
can you please review it and approve or reject. |
You can change the name as follows: File("A.txt"){AttributesDefinition = "Name=B.txt"} |
….TargetFileName` - Fixed problem with locating latest (v3.11) WiX Toolset installed
@Xaddan is right. The default use case is the deployment of the file with the same name as the source file. Everything else needs to be done by specifying custom attributes directly as in the example above. Though in the very next release you will be able to set it via dedicated property new File("A.txt")
{
TargetFileName = "B.txt"
} |
@Xaddan, @oleg-shilo thank you very much ) {AttributesDefinition = "Name=B.txt"} is working |
- Fixed problem with locating latest (v3.11) WiX Toolset installed - Issue #538: impossible rename file during installation; added `File.TargetFileName` - Issue #536: External_UI/WinFormsSetup how to get properties - Issue #531: Question: custom action and Embedded UI - Issue #511: Compile error CustomDialog - Issue #512: Cannot define RemotePayload - Issue #484: Is ExecuteInTempDomain really necessary? - Added `BalCondition` - Added `CAValidation` enum - `InRemoteAppDomain, InCurrentAppDomain, Disabled` - WixSharp.VS.ProjectTemplate: Release v1.6.0.0 - Updated to the new `WixSharp.UI.Runtime` structure. - Code cleanup (mainly CodeMaid cleaning)
- Fixed problem with locating latest (v3.11) WiX Toolset installed - Issue #538: impossible rename file during installation; added `File.TargetFileName` - Issue #536: External_UI/WinFormsSetup how to get properties - Issue #531: Question: custom action and Embedded UI - Issue #511: Compile error CustomDialog - Issue #512: Cannot define RemotePayload - Issue #484: Is ExecuteInTempDomain really necessary? - Added `BalCondition` - Added `CAValidation` enum - `InRemoteAppDomain, InCurrentAppDomain, Disabled` - WixSharp.VS.ProjectTemplate: Release v1.6.0.0 - Updated to the new `WixSharp.UI.Runtime` structure. - Code cleanup (mainly CodeMaid cleaning)
https://stackoverflow.com/questions/14475166/changing-file-name-while-installing
current implementation is:
public File(string sourcePath, params WixEntity[] items)
{
this.Name = sourcePath;
probably need to split name and source path
The text was updated successfully, but these errors were encountered: