Pelles C forum

C language => Expert questions => Topic started by: TimoVJL on January 27, 2012, 10:14:02 PM

Title: poinst
Post by: TimoVJL on January 27, 2012, 10:14:02 PM
A few questions about poinst.exe:
Why poinst.exe must run as admin for creating install exe in Windows 7?
What compressing format poinst use ? deflate ?
How to list files in poinst.exe created install exe ?


Title: Re: poinst
Post by: CommonTater on January 28, 2012, 01:58:08 AM
Hi Timo...
I tried POINST when I first started with Pelles and never did get it to work the way I would like... not that it doesn't work, more that I needed something different.  I've been using Inno Setup (http://www.jrsoftware.org/isinfo.php) which I find is more flexible and a lot easier to script.

I haven't been able to open and look at any of POINST's .exe files with any archive viewer, so I don't know what protocols it uses...

Sorry I can't be more help.  I think we need Pelle for this one...


 
Title: Re: poinst
Post by: aardvajk on January 28, 2012, 05:23:34 PM
A few questions about poinst.exe:
Why poinst.exe must run as admin for creating install exe in Windows 7?
Default Windows behaviour for exe's without a manifest and which contain the word install in their resource description.

Quote
What compressing format poinst use ? deflate ?
Quote
Portions Copyright 1999-2001 Nullsoft, Inc.
Portions Copyright (C) 1995-1998 Jean-loup Gailly and Mark Adler.
PoInst is a cutdown version of makensis from NSIS with zlib/gzip support.

Quote
How to list files in poinst.exe created install exe ?
You probably can't. The created installers only support these three command line options (http://nsis.sourceforge.net/Which_command_line_parameters_can_be_used_to_configure_installers) and an undocumented /PID option
Title: Re: poinst
Post by: TimoVJL on January 29, 2012, 09:57:02 AM
A few questions about poinst.exe:
Why poinst.exe must run as admin for creating install exe in Windows 7?
Default Windows behaviour for exe's without a manifest and which contain the word install in their resource description.

Thanks aardvajk.

This was enought for poinst.exe.manifest
Code: [Select]
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
<assemblyIdentity
    version="6.5.0.0"
    processorArchitecture="X86"
    name="poinst"
    type="win32" />
<description>
PellesC poinst
</description>
<trustInfo xmlns="urn:schemas-microsoft-com:asm.v3">
    <security>
      <requestedPrivileges>
        <requestedExecutionLevel level="asInvoker" uiAccess="false" />
      </requestedPrivileges>
    </security>
  </trustInfo>
</assembly>