-
-
Notifications
You must be signed in to change notification settings - Fork 104
Open
Description
Hello!
After dotnet publish ... I`ve got Folder stucture like this:
RootFolder
- folder1
- folder2
- ...
- folder5
MainExe located in folder1
my vpk pack commanline looks like
vpk pack --packId AppName --outputDir ..\Velopack_Release --packDir RootFolder --framework net8-x64-desktop -
-packVersion 1.1.9 --channel win-x64-release --mainExe Folder1\AppName.exe
but it`s always fails.. with error
Cannot create StubExecutable for '%TEMP%\Velopack\temp.1\PreprocessPackDirWin\AppName.exe' because it does not exist.
ArgumentException: Cannot create StubExecutable for
'C:\Users\Administrator\AppData\Local\Temp\2\Velopack\temp.1\PreprocessPackDirWin\AppName.exe' because it does not
exist.
at void CreateExecutableStubForExe(string exeToCopy, string targetStubPath) in WindowsPackCommandRunner.cs:267
at Task<string> PreprocessPackDir(Action<int> progress, string packDir) in WindowsPackCommandRunner.cs:87
at void MoveNext() in PackageBuilder.cs:116
at void MoveNext() in SpectreConsole.cs:120
at async Task<T> RunTask<T>(string name, Func<Action<int>, Task<T>> fn) in SpectreConsole.cs:142
at async Task RunTask(string name, Func<Action<int>, Task> fn) in SpectreConsole.cs:117
at void MoveNext() in PackageBuilder.cs:112
at void MoveNext() in SpectreConsole.cs:40
at void MoveNext() in Progress.cs:103
at void MoveNext() in Progress.cs:138
at async Task<T> RunAsync<T>(Func<Task<T>> func) in DefaultExclusivityMode.cs:40
at async Task<T> StartAsync<T>(Func<ProgressContext, Task<T>> action) in Progress.cs:121
at async Task StartAsync(Func<ProgressContext, Task> action) in Progress.cs:101
at async Task ExecuteProgressAsync(Func<IFancyConsoleProgress, Task> action) in SpectreConsole.cs:28
at async Task Run(T options) in PackageBuilder.cs:109
at void MoveNext() in Program.cs:272
Is it possible to create velopack installer with mainexe in subfolder? and if possible, how to do this ?
Thank you !
Metadata
Metadata
Assignees
Labels
No labels