I am using Dotnetzip to create an exe file from deployment & setup project output exe, msi file [ create a zip file with msi content inside it and while unzipping i set the msi to install automatically].
I have been able to modify all the properties of files liek in the below image
but only Original Filename is not teh one i want .
Is any way to edit the Original Filename property?
Code i written to modify property using resourceLib tool is like this
VersionResource versionResource = new VersionResource();
versionResource.LoadFrom(locationof exefile);
StringFileInfo stringFileInfo = (StringFileInfo)versionResource["StringFileInfo"];
stringFileInfo["OriginalFilename"] = "my-file.exe\0";
string bnewfile = @"targetlocationtosave";
versionResource.SaveTo(OutputFile);