Specific file is Not downloaded but downloads when Full absolute path is passed to new File #1824
JonathanAvista
started this conversation in
General
Replies: 2 comments
-
|
I am not sure about the file being "downloaded". It seems like you are not actually downloading anything. But the error means that your |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
I believe my error was due to a long Path in the structure.
There is already a script in place to enable IIS and other configurations.
I only wanted the files to be installed in a certain location for that script.
I gave the path
\\?\C:\Program Files (x86)\
When installing on the target mahcine and opening local host , IIS is searching for a apth with \\?\ which will never exist.
Pipe has been ended when writing path longer than 255 (MAX_PATH issue) · Issue #9115 · wixtoolset/issues<wixtoolset/issues#9115>
…________________________________
From: Oleg Shilo ***@***.***>
Sent: Saturday, July 26, 2025 1:45 AM
To: oleg-shilo/wixsharp ***@***.***>
Cc: Jonathan Apolaya ***@***.***>; Author ***@***.***>
Subject: Re: [oleg-shilo/wixsharp] Specific file is Not downloaded but downloads when Full absolute path is passed to new File (Discussion #1824)
I am not sure about the file being "downloaded". It seems like you are not actually downloading anything. But the error means that your WEBAPP_SOURCE_DIR is not pointing to the right location relative to your project dir (assuming you have created your project from the WixSharp template).
—
Reply to this email directly, view it on GitHub<#1824 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/BSWJ7BQMJ2YVKUFXCU2UOLL3KMIW7AVCNFSM6AAAAACCL2E2EOVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTGOBZGQ4DANA>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am attempting to download files to the MIS I am creating as such
// Installing WebApp new Dir(new Id("WebAppInstallDir"), @"MyWebApp", new Files( webAppFeature, WEBAPP_SOURCE_DIR + @"\*.*" ) )I get an error :
failed to add file: ..\..\..\..\InstallerAssets\WebAppPublished\app_data\jobs\continuous\NotificationEngine\Microsoft.Extensions.Configuration.EnvironmentVariables.dll ---> System.ComponentModel.Win32Exception: The system cannot find the path specifiedalthough if add the file with its absolute path the MSI builds with no issues ?
Beta Was this translation helpful? Give feedback.
All reactions