Archive: use a NSIS Install.exe as the app itself


use a NSIS Install.exe as the app itself
I have a quicktime file and an xml file I am installing. Neither of these are .exe files.

I was wondering, it it ok to use the NSIS installer as the app that launches my movie?

basically, myInstaller.exe checks to see if it has allready installed on the user's computer

if so,
myInstaller.exe skips installation and launches the movie

If not, myInstaller.exe installs all the necessary files and folder and then launches my movie

For me, this would make my movie portable between users....as opposed to making a shortcut file

Is there a reason not to do this ?


None at all.

I've used NSIS as a base for many programs because NSIS supports so many things with little code.

-Stu


Yeah, little code for us, lot of code for the developers :P

I'm also using NSIS for direct API calls, nice thing I'll say :up:


great :)
so far my experience with NSIS [about 5 days] has been outstanding. The main reason I'm using nsis is that I can not put a custom icon on a Quicktime file on the Windows platform...always defaults to the default Quicktime icon. I wonder if that is hackable on the Windows Platform without corrupting the file or making an .exe ?

slightly off topic...but I am curios :)

many thanks
g


You could make a shortcut with a different icon, or you would have to edit the shell registry (HKCR).

-Stu


could be the quicktime agent (whatever the name is) running in the notification area restores the icons everytime you change it. but afaik it can be disabled.