2
I created an application that was made available for download within a .zip
. Within the .zip
has a .exe
and some files needed to perform an installation. So far so good.
However some users do not perform file extraction before installing, they run the file .exe
directly from within the .zip
. Ista generates an error as the application cannot find the necessary files to proceed with the installation.
So my question is this:: How do I identify if my application is running from within a .zip
?
Considerations:
1) By needing a quick solution I can’t put everything within one .msi
or as features incorporated in .exe
. This would imply changing the application which at the moment is not a good option.
2) I am using C# + VS 2012 with Windows Forms
Why not create a Winzip SFX or EXE.
– Guilherme Nascimento
As far as I know, when we run the EXE’s inside the zip file, Winrar, for example, unzips in the windows temp folder. Share error that gives when your system runs inside zip.
– Pablo Tondolo de Vargas
@Guilhermenascimento could explain better?
– Richard Dias
@Pablovargas the application does not give error, it checks before starting the installation if the files exist, if there is no it does not proceed. But files may not exist for more than one reason, not just because they are in a temp folder.
– Richard Dias
by chance your executable does not have the file paths fixed?
– Pablo Tondolo de Vargas
@Pablovargas They are not fixed paths, they are relative to the application execution folder
– Richard Dias