Quantcast
Channel: Indigo Rose Software Forums - Forums
Viewing all articles
Browse latest Browse all 2105

Hide entire installation and capability to debug installer

$
0
0
Hi !

1. We would like to hide entire Installer when silent installation (/S) is executed.

I've discovered that it's possible indeed to use

Code:
if _SilentInstall == true then
handle = Application.GetWndHandle();
Window.Hide(handle);
end
Kind of code in OnStartup or On Preload some of screens - but window still manages to flash quickly.

Would it be possible to completely hide Installer windows, without even flashing and showing it on taskbar ?

2. I've managed to integrate some C# code inside setup factory installer (calling it from .lua via pinvoke), and looks like working -
but I have trouble of attaching to installer using Visual studio 2019.
I'm running Visual studio on elevated priviledge, and typically installer crashes once I attach debugger to it.

I was suspected that you use some sort of anti-debugging tricks, but it's also possible that VS does not like managed code type or something like this.
I can dig up exception details if you need some.

Viewing all articles
Browse latest Browse all 2105

Trending Articles