top of page
Search

Tutorial: portable with NSIS - Tips and tricks for making a portable installer with NSIS

  • dyamisliepienis
  • Aug 13, 2023
  • 6 min read


The makensisw.exe in the NSIS installation folder is the actual compiler. It has a graphical front end that explains three ways to load scripts, so it's very easy to use. Once you have installed NSIS, to create an installer, copy a script into a text editor, save the file with a .nsi extension, and load the file into the makensisw compiler.




Tutorial: portable with NSIS




You can see that line nsis.commands is very long, but in fact is very simple. This line calls special program findreplace.exe which has one and only purpose. It takes pairs of input arguments + one last extra argument. Last argument is file which should be used for finding and replacing (our small NSIS script with variables). The predecessing pairs are string which should be searched and replaced.


I'm an obsessive guy who seriously "hates" installers. I love to have a clean system without bloated in files reg entries and DLL's. Thats why I make nearly all (at least 97%) of programs that I use portable. I made more than 600 up to today and what I can say is;


And with this program (I use this because have no interference with any application) pack the program that you want to make portable. In wizard, first choose your reg-exe file after main programs file. Launcher will execute them with this order. And in setting choose "delete after terminate" will delete the extracted files on exit.


Actually you can just use JauntePE or portable apps packer things but... Jaunte and similar sandbox making programs are so slow and not compatible with all. Even causing crashes. Portable apps approach is a bit bloated regarding to my strict spped and size standards. That's why I do it myself about for 10 years (yes even people was not talking about portability)


inovasyon did a great job!If you want to make some portable app that will work on every computer you move it to, then 99.9% of apps can be made portable.If you also expect the app to not leave any files, folders or registry entries behind and not change or break things on the host PC's setup, then that limits things a bit further.Apps requiring admin privileges to write to protected areas of the registry or file system will break when used on PCs with locked-down privileges.


Find all the files, registry locations and settings of the application you want to make portable (make use of point (1) and (2) in inovasyon's answer, and maybe take a look at Zsoft). It is usally a good idea to fire-up a virtual machine and track the application's changes without much clutter.


Download the PortableApp.com Application Template (search for it here) to structure the data and files obtained in (1.) according to the specifications. Also, download some apps from portableapps.com for some practical examples of how they are structured, and to learn more about the struggles of portability (such as the substitution of drive letters in settings files to correspond to the movement of a portable drive).As a "Hello World" example, try portability this simple program: helloworld.bat, with content:


Pynsist is a tool that bundles Pythonprograms together with the Python-interpreter into a single installer based onNSIS. In most cases, packaging only requires the user to choose a version ofthe Python-interpreter and declare the dependencies of the program. The tooldownloads the specified Python-interpreter for Windows and packages it with allthe dependencies in a single Windows-executable installer.


In this paper, a commercial software package that incorporates MoM with HOBFs is used to model a CATR that consists of a blended rolled edge reflector. The results for the reflector and feed model are compared with asymptotic analysis results to show agreement. A realistic feed horn, support structure, and RF absorber is then introduced to the model and its performance is also included to predict field distribution in the CATR test zone. Using this field solution, the Poynting vector is calculated to visualize the flow of energy in the range and from these results proper RF absorber layout can be designed to ensure optimum test zone performance. It is also shown how feed structure absorber treatment impacts CATR test zone performance.


To address dynamic testing requirements of newcommunications systems and RF processes that use non-staticbeam forming, NIST proposed the Large Antenna PositioningSystem (LAPS). The LAPS consists of two kinematically-linkedsix axis robotic arms, one of which is integrated with a 7 m linearrail system. This repositionable, multi-robot system can performarbitrary scans around a device under test. The dynamic 13degree-of-motion capability is designed to perform complexspatial interrogation of systems.


The planar near-field technique is one of the most widely used, methods for measuring electrically large, medium to high gain antennas [1, 2]. Plane rectilinear systems consist of two intersecting, orthogonal linear translation stages which produces data in a convenient regularly spaced rectilinear co-ordinate system. Although the plane rectilinear geometry is by far the most commonly encountered implementation, plane-polar [2, 3] and plane-bipolar [4] geometries can also be constructed using mechanically convenient, commercially available, positioners. Plane-polar acquisition systems typically comprise the intersection of a rotation stage mounted behind the AUT, with a linear probe translation stage acting as a radial arm. This geometry yields data tabulated in a plane-polar co-ordinate system. Although comparatively rare in industry, plane-polar systems are important because they present certain distinct advantages [3, 5]. They do however pose some unique challenges within their implementation. As with all near-field methodologies, accurate and precise probe positioning is of paramount importance to the success of the technique and comprises an important term within the facility level uncertainty budget [6, 7]. Clearly, this is equally valid for the planar-polar technique with the hybrid angular/linear positioning system presenting unique challenges to the mechanical alignment.


In a 2008 AMTA paper the concept of theIsoFilterTM rejection curve was described. The steps togenerate this rejection curve consist simply of (1)translating the coordinate origin of the measuredpattern to a new location (2) performing a sphericalmodal analysis of the pattern, and (3) taking the totalpower in the lowest order mode as a measure of thestrength of the radiation source at that location.Stepwise repetition of this process then generates theIsoFilterTM rejection curve. The basis for the process ofgeneration was an empirical recipe for which notheoretical basis was presented. In this paper we relatethe rejection curve to conventional electromagnetictheory. We begin with the general free space Green'sfunction assuming a general distribution of currentsources, and show how one may plausibly describe theIsoFilterTM rejection curve, and how it operates to revealan arbitrary source distribution.


Obtaining a quantitative accuracy qualification is oneof the primary concerns for any measurementtechnique. This is especially true for the case ofnear-field antenna measurements as these techniquesconsist of a significant degree of mathematicalanalysis. When undertaking this sort of examination,room scattering is typically found to be one of themost significant contributors to the overall errorbudget. Previously, a technique namedMathematical Absorber Reflection Suppression(MARS) has been used with considerable success inquantifying and subsequently suppressing rangemulti-path effects in first spherical and then,cylindrical near-field antenna measurement systems. This paper details a recent advance that, forthe first time, enables the MARS technique to besuccessfully deployed to correct data taken usingplanar near-field antenna measurement systems. Thispaper provides an overview of the measurement andnovel data transformation and post-processing chain.Preliminary results of computational electromagneticsimulation and actual range measurements arepresented and discussed that illustrate the success ofthe technique.


Lockheed Martin MS2 has a long history of utilizingantenna ranges for calibration, test and characterization ofthe phased array antennas. Each range contains anintegrated RF receiver subsystem for performing antennameasurements, typically on the full array. For solid-statephased array testing, what is often needed, however, is atest station capable of performing complex S-parametermeasurements on a subarray or subset of the full antennasystem without incurring the expense of a test chamber.To address this requirement, Lockheed Martin, workingwith Nearfield Systems, has developed a portablestandalone RF measurement system...


A hemi-spherical near-field test system with added far-field capability is described. The facility has been constructed for the characterization of automotive antennas. The test system consists of an 11m tall dielectric gantry, a 6.5m diameter in-ground turntable and a 28m-diameter radome enclosure. Special software required to compensate for the reflectivity in the facility and the hemi-spherical truncation was developed and forms an integral part of this test system. The characteristics of this facility are described in this paper and measured data is presented.


In this paper, we describe the process used to align alarge spherical near-field test system. The probepositioner consists of a cantilevered arc design with aprobe path radius of five meters and a scan angle of180. The AUT positioner consists of an MITechnologies Model 51230 azimuth positioner with ahigh-precision encoder. The system is aligned usingan SMX Tracker 4000 tracking laser interferometer.


This paper presents an accurate and portable method forRF testing of AN/SPY-1 Antenna Arrays on Navy ships.With four antennas per ship, the usual methods for RFtesting are time consuming and very costly. Currently, themost thorough and accurate method of testing is to removean array and ship it to the original equipmentmanufacturer's near-field facility. A Portable PlanarNear-Field Scanner System (PPNFSS) was developed byNearfield Systems Inc. for the Naval Surface WarfareCenter-PHD to perform RF testing without removing thearray from the ship. The system consists of a portablerobotic scanner, optics, microwave subsystem,environmental/anechoic enclosure and active thermalcontrol system. The system was designed to mount tovarious array/ship configurations with severe envelope andenvironment constraints. The design is modular to allowpackaging in ruggedized transit cases and a 48 ft. shippingcontainer. 2ff7e9595c


 
 
 

Recent Posts

See All

Comments


© 2023 by Mother's Day Greeting Card. Proudly created with wix.com

bottom of page