How do I create a single file installer for LV 6.1 App Builder Output?
I have created an application using the 6.1 App builder and it installs fine. To be able to send this app to others, I would really like to put it in something like a self extracting executable file. How can I do this with app builder or can you suggest another software to buy that will let me create this.
Thanks for any help that you can provide
You raise a number of important points. I'll answer to the best of my knowledge.
1. Usually true. Win98/2K/XP have the Windows Installer Service built in, but 95/98/ME require InstMsiA.exe, and WinNT4 requires InstMsiW.exe. The difference is in the character set (ASCII vs. Unicode), and I don't know how that difference applies to the non-Roman alphabet installations. It's safest to include both if you're going to include one.
On the same subject, I noticed that the first thing the LV7 evaluation installer does on a Win2K box (and therefore probably on a Win98 box as well) is update the Windows Installer service, so LV7-built executables may very well require InstMsiA.exe/InstMsiW.exe on Win98/2K.
2. I think so. I usually don't distribu
te LabVIEW EXEs as self-extracting installers, but it probably is safest to wait until the setup is complete before returning control to the self-extractor software.
3. True. (And note that one of the circumstances under which you might repair/update msiexec is with LV7 on Win98/2K).
4. True. Setup.exe appears to install/update msiexec if needed and then launch the MSI file.
Similar Messages
-
How can I create a single background image for a BorderLayout?
I can create a background with an image file for the individual panel (North, West, Center, East and South) in a BorderLayout, but I've been spinning my wheel for a long while now trying to figure out how to create just one background with a single image file for all of these panels?
In my application, a panel may contain various buttons, a listbox, a group of checkboxes, a combo box, or a canvas. Even if I used the same image file, when the panels are finally put together, one can clearly see that the end product is the result of a lot of patch works.
Hope someone has an answer for this. BTW, I'm using AWT because it works with existing browsers without the need for a separate Java plug-in.
Regards,
V.V.Look at this :
import java.awt.*;
import java.awt.event.*;
import java.util.*;
import java.awt.image.BufferedImage;
public class PanI extends Frame
Image map;
Panel pan;
myPan p8,p4,p6,p2,p5;
BufferedImage I;
public PanI()
addWindowListener(new WindowAdapter()
{ public void windowClosing(WindowEvent ev)
{ dispose();
System.exit(0);}});
map = getToolkit().getImage("map2.gif");
MediaTracker tracker = new MediaTracker(this);
tracker.addImage(map,0);
try {tracker.waitForID(0);}
catch (InterruptedException e){}
I = new BufferedImage(1,1,BufferedImage.TYPE_INT_ARGB);
setBounds(10,10,map.getWidth(null)+8,map.getHeight(null)+27);
setLayout(new BorderLayout());
pan = new Panel();
add(pan,BorderLayout.CENTER);
pan.setLayout(new BorderLayout());
pan.setSize(map.getWidth(null),map.getHeight(null));
p5 = new myPan(5);
p5.setBackground(Color.red);
pan.add(p5,BorderLayout.CENTER);
p8 = new myPan(8);
p8.setBackground(Color.orange);
pan.add(p8,BorderLayout.NORTH);
p4 = new myPan(4);
p4.setBackground(Color.blue);
pan.add(p4,BorderLayout.WEST);
p6 = new myPan(6);
p6.setBackground(Color.green);
pan.add(p6,BorderLayout.EAST);
p2 = new myPan(2);
p2.setBackground(Color.pink);
pan.add(p2,BorderLayout.SOUTH);
setVisible(true);
public class myPan extends Panel
int where;
public myPan(int i)
super();
where = i;
public void paint(Graphics g)
if (I.getWidth(null) != pan.getWidth() || I.getHeight(null) != pan.getHeight())
I = new BufferedImage(pan.getWidth(),pan.getHeight(),BufferedImage.TYPE_INT_ARGB);
Graphics G = I.getGraphics();
G.drawImage(map,0,0,pan.getWidth(),pan.getHeight(),null);
G.dispose();
int x1=0;
int x2=getWidth();
int y1=0;
int y2=getHeight();
if (where == 8)
if (where == 2)
y1 = p8.getHeight()+p5.getHeight();
y2 = getHeight()+y1;
if (where == 4)
y1 = p8.getHeight();
y2 = y1+getHeight();
if (where == 5)
x1 = p4.getWidth();
x2 = x1+getWidth();
y1 = p8.getHeight();
y2 = y1+getHeight();
if (where == 6)
x1 = p4.getWidth()+p5.getWidth();;
x2 = x1+getWidth();
y1 = p8.getHeight();
y2 = y1+getHeight();
g.drawImage(I,0,0,getWidth(),getHeight(),x1,y1,x2,y2,null);
public void update(Graphics g)
paint(g);
public static void main (String[] args)
new PanI();
Noah -
How can I convert the volume directory into a single file installer?
How can I convert the volume directory into a single file installer? I would like to hide all the miscillaneous files that I don't care for and be able to have the installer double click a single file and have it automatically install.
On the second prompt screen when prompted 'What kind of self-extracting Zip file file do you want to make?'
Are you choosing the second option (self-extracting Zip file for software installation)?
I have a word file that I created to help me remember - is there anyway to email it to you? -
Problems adding reg subkey in Single File Installer script
Hello,
I am having some problems with a script in my Single File Installer package im creating with the Installation Server Admin
Background:
I want to eliminate the users from having to pick the Kerberos token when we roll out SSO. To do this I need the following key in place for each user.
HKEY_CURRENT_USER\Software\SAP\SecureLogin\TokenType = Kerberos
I already confirmed that I can get this key injected by the Windows system when a user (new user or existing user) on the machine by putting in the following keys under HKLM. This is really cool trick if you didn't know already, I have not seen it used here at SCN before, but I ot it from previous experience.
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Active Setup\Installed Components\slctoken\
String: Version"
Value: "1"
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Active Setup\Installed Components\slctoken
String: StubPath
Value: "reg add "HKEY_CURRENT_USER\Software\SAP\SecureLogin" /v "TokenType" /d "kerberos" /t REG_SZ /F"
Problem:
I can create registry values with this line I also use:
NwEngine.Shell.SetRegValue "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Environment\SAPLOGON_INI_FILE", "REG_EXPAND_SZ", "%userprofile%\AppData\Roaming\SAP\Common\saplogon.ini"
But when I try to create new values in HKEY_CURRENT_USER\Software\SAP\SecureLogin it doesn't work. I think it is because the SecureLogin key does not yet exist. (this can be names anything, I made it up)
Question: (in short)
How can I make a registry subkey with a script inside the Single File Installer? I could also put a bat or vbs in the CustomerFiles folder and run it, but I don't know how.
My users have admin rights, and ultimately this will be pushed with LANDesk as System. So rights is not an issue.Yea I confirmed NwEngine.SetRegValue is NOT writing the subkey, it just doesn't run if the subkey isn't in place. Windows command "reg add" will write the subkey for a value if its no there.
Also, im not writing to HKCU, im writing to a special place in HKLM. The key im writing will make the keys in HKCU during logon of the user. So I can run this as system, or local admin.
I allready have a LANDesk SAP installer, useing a VBScript that runs the sap installer, along with out OpenText installer
Here is my VB that is used with LANDesk or SCCM.
' Install SAP
Function Install_SAP()
If OSArch = "x64" Then
If objFSO.FileExists(strProgramFiles64 + "\SAP\FrontEnd\SAPgui\saplogon.exe") Then
Else
strCurrentDir = Left(WScript.ScriptFullName, (InstrRev(WScript.ScriptFullName, "\") -1))
application = chr(34) + strCurrentDir + "\sapgui\sapgui730.exe" + chr(34) + " /NoDlg /Package=" + chr(34) + "Esri" + chr(34)
objShell.Run(application),1,true
End If
Else
If objFSO.FileExists(strProgramFiles + "\SAP\FrontEnd\SAPgui\saplogon.exe") Then
Else
strCurrentDir = Left(WScript.ScriptFullName, (InstrRev(WScript.ScriptFullName, "\") -1))
application = chr(34) + strCurrentDir + "\sapgui\sapgui730.exe" + chr(34) + " /NoDlg /Package=" + chr(34) + "Esri" + chr(34)
objShell.Run(application),1,true
End If
End If
End Function -
How do I create a single PDF Portfolio from an Outlook 2011 email with multiple non-pdf attachments?
Email has 3 attachments--some are not pdf. I'd like all three converted into pdf files along with the email itself, and all appear in the email's pdf portfolio.I would also like an answer to this question.
I am trying to convert an Outlook email to a PDF, then all attachment are appended to the PDF as pages instead of attachments. -
How do i create a single instance of a class inside a servlet ?
how do i create a single instance of a class inside a servlet ?
public void doGet(HttpServletRequest request,HttpServletResponseresponse) throws ServletException, IOException {
// call a class here. this class should create only single instance, //though we know servlet are multithreaded. if, at any time 10 user comes //and access this servlet still there would one and only one instance of //that class.
How do i make my class ? class is supposed to write some info to text file.i have a class MyClass. this class creates a thread.
i just want to run MyClass only once in my servlet. i am afriad, if there are 10 users access this servlet ,then 10 Myclass instance wouldbe created. i just want to avoid this. i want to make only one instance of this class.
How do i do ?
they have this code in the link you provided.
public class SingletonObject
private SingletonObject()
// no code req'd
public static SingletonObject getSingletonObject()
if (ref == null)
// it's ok, we can call this constructor
ref = new SingletonObject();
return ref;
public Object clone()
throws CloneNotSupportedException
throw new CloneNotSupportedException();
// that'll teach 'em
private static SingletonObject ref;
}i see, they are using clone !, i dont need this. do i ? shouldi delete that method ?
where do i put my thread's run method in this snippet ? -
How do I create individual xml files from the parsed data output of a xml file?
I have written a program (DOM Parser) that parses data from a XMl File. I would like to create an individual file with the corresponding name for each set of data parsed from the xml document. If the parsed output is Single, Double, Triple, I would like to create an individual xml file (Single.xml, Double.xml, Triple.xml)with those corresponding names. How do I create the xml files and give each file the name of my parsed data output? Thanks in advance for your help.
import java.io.IOException;
import javax.xml.parsers.DocumentBuilder;
import javax.xml.parsers.DocumentBuilderFactory;
import javax.xml.parsers.ParserConfigurationException;
import org.w3c.dom.Document;
import org.w3c.dom.Element;
import org.w3c.dom.Node;
import org.w3c.dom.NodeList;
import org.xml.sax.SAXException;
public class MyDomParser {
public static void main(String[] args) {
DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
try {
DocumentBuilder builder = factory.newDocumentBuilder();
Document doc = builder.parse("ENtemplate.xml");
doc.normalize();
NodeList rootNodes = doc.getElementsByTagName("templates");
Node rootNode = rootNodes.item(0);
Element rootElement = (Element) rootNode;
NodeList templateList = rootElement.getElementsByTagName("template");
for(int i=0; i < templateList.getLength(); i++) {
Node theTemplate = templateList.item(i);
Element templateElement = (Element) theTemplate;
System.out.println("Template" + ": " +templateElement.getAttribute("name")+ ".xml");
} catch (ParserConfigurationException e) {
// TODO Auto-generated catch block
e.printStackTrace();
} catch (SAXException e) {
// TODO Auto-generated catch block
e.printStackTrace();
} catch (IOException e) {
// TODO Auto-generated catch block
e.printStackTrace();Ive posted the new code but now I'm getting a FileAlreadyExistException error. How do I handle this exception error correctly in my code?
import java.io.IOException;
import java.nio.file.FileAlreadyExistsException;
import java.nio.file.Files;
import java.nio.file.Paths;
import javax.xml.parsers.DocumentBuilder;
import javax.xml.parsers.DocumentBuilderFactory;
import javax.xml.parsers.ParserConfigurationException;
import org.w3c.dom.Document;
import org.w3c.dom.Element;
import org.w3c.dom.Node;
import org.w3c.dom.NodeList;
import org.xml.sax.SAXException;
public class MyDomParser {
public static void main(String[] args) {
DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
try {
DocumentBuilder builder = factory.newDocumentBuilder();
Document doc = builder.parse("ENtemplate.xml");
doc.normalize();
NodeList rootNodes = doc.getElementsByTagName("templates");
Node rootNode = rootNodes.item(0);
Element rootElement = (Element) rootNode;
NodeList templateList = rootElement.getElementsByTagName("template");
for(int i=0; i < templateList.getLength(); i++) {
Node theTemplate = templateList.item(i);
Element templateElement = (Element) theTemplate;
System.out.println(templateElement.getAttribute("name")+ ".xml");
for(int i=0; i < templateList.getLength(); i++) {
Node theTemplate = templateList.item(i);
Element templateElement = (Element) theTemplate;
String fileName = templateElement.getAttribute("name") + ".xml";
Files.createFile(Paths.get(fileName));
System.out.println("File" + ":" + fileName + ".xml created");
} catch (ParserConfigurationException e) {
// TODO Auto-generated catch block
e.printStackTrace();
} catch (SAXException e) {
// TODO Auto-generated catch block
e.printStackTrace();
} catch (IOException e) {
// TODO Auto-generated catch block
e.printStackTrace(); -
I have a 1TB external hard drive (NTFS) that has all my files from my old PC, how do I create a partition on it for HFS without formatting it so that I can use it for Time Machine and the like?
There aren't any 3rd party apps or anything. I use PC's and Mac's at school and the only computer connected to a printer at my house is a PC so i need access to both
-
How can I create an Excel file?
Hi,
How can I create an Excel file using Forms 6i.
What I'm doing is to create a file using TEXT_IO package an name it .XLS. If a read it double-clicking over the file, it opens Ok but If I open directly from Excel it opens the Convert dialog.
I need to create an excel file as it was made from within Excel.
Thank in advance,
BenjaminWhen you are talking about subfiles, are you talking like Package contents of an application?
Terminal application in Applications -> Utilities can give a command line grasp of all your files using the du command.
Type
man du
when entering the terminal, followed by the enter key.
Note, by default the terminal opens at the Home folder. To navigate outside the Home folder enter "/Volumes/name of mounted drive/folder/subfolder" as your path. If there are spaces in the name, putting quotes around the whole path can help. If you end your du command with a > name.txt a text file with the name name.txt will be plugged into your Home directory. That you can open with Excel and parse by /es thus giving you everything in Excel. -
How can I create a single order from multiple quotations?
How can I create a single order from multiple quotations that I have created by the transaction VA21 ?
Thanks in advance for the answers.hi
Go to transaction: /nva01
Enter order type : ZOR
Sale org :xxxx
Dist.channel:xx
Division :xx
Press enter
Click on Sale document and select Create with reference
Then enter 1st quotation number & click on COPY or Selection list. Then click on Copy .Then all line items which belong to quoation1 copy to order.
Then,
Click on Sale document and select Create with reference
Then enter 2nd quotation number & click on COPY or Selection list. Then click on Copy .Then all line items which belong to quoation2 copy to order.
Then,
Click on Sale document and select Create with reference
Then enter 3rd quotation number & click on COPY or Selection list. Then click on Copy .Then all line items which belong to quoation3 copy to order.
Now save the sale document.
Kindly give reward points
Edited by: WISH on Mar 19, 2008 2:25 PM -
How do i create one source file that feeds two users on the same pro book?
how do i create one source file/folder of photos that feeds two users on the same pro book?
Well you can do exactly the same with a folder of photos, just put in the Users/Shared folder.
Iphoto is a mite more complex than this. It's a database and so there's a bit more involved.
For iPhoto 09 (version 8.0.2) and later:
What you mean by 'share'.
If you want the other user to be able to see the pics, but not add to, change or alter your library, then enable Sharing in your iPhoto (Preferences -> Sharing), leave iPhoto running and use Fast User Switching to open the other account. In that account, enable 'Look For Shared Libraries'. Your Library will appear in the other source pane.
Any user can drag a pic from the Shared Library to their own in the iPhoto Window.
Remember iPhoto must be running in both accounts for this to work.
If you want the other user to have the same access to the library as you: to be able to add, edit, organise, keyword etc.
Quit iPhoto in both accounts. Move the Library to the Users / Shared Folder
(You can also use an external HD set to ignore permissions, a Disk Image or even partition your Hard Disk.)
In each account in turn: Double click on the Library to open it. (You may be asked to repair the Library Permissions.) From that point on, this will be the default library location. Both accounts will have full access to the library, in fact, both accounts will 'own' it.
However, there is a catch with this system and it is a significant one. iPhoto is not a multi-user app., it does not have the code to negotiate two users simultaneously writing to the database, and trying will cause db corruption. So only one user at a time, and back up, back up back up. -
How can I Create a exe file were a tab control on it work`s
I have a VI with many controls and indicators,these are spread on a tab control.This tab control works with out any problems but if i create a exe file then the tab control is fixed. How can I create a exe file so that the tab control on it work´s ?"
Attachments:
project7.1.jpg 129 KBMake the tab control a control and not an indicator. If you want to write
to it you need to create a local variable.
"Carlos-R." wrote in message
news:[email protected]..
I have a VI with many controls and indicators,these are spread on a
tab control.This tab control works with out any problems but if i
create a exe file then the tab control is fixed. How can I create a
exe file so that the tab control on it work´s ?" -
How can I create a exe file with a tab control on it that work´s ?
I have a VI with many controls and indicators,these are spread on a tab control.This tab control works with out any problems but if i create a exe file then the tab control is fixed. How can I create a exe file so that the tab control on it work´s ?
I have made a new Posting with the same question but this time I added a screenshot of the VI.
Attachments:
project7.1.jpg 129 KB -
How I can create a XML file from java Aplication
How I can create a XML file from java Aplication
whith have a the following structure
<users>
<user>
<login>anyName</login>
<password>xxxx</password>
</user>
</users>
the password label must be encripted
accept any suggestionLet us assume you have all the data from the jsp form in an java bean object..
Now you want a xml file. This can be acheived in 2 ways
1. Write it into a file using java.io classes. Say you have a class with name
write("<name>"+obj.getName+</name>);
bingo you have a flat file with the xml
2. Use data binding to do the trick
will recommend JiBx and Castor for the 2nd option
Regards,
Rajagopal -
How do I create a pdf file that is 300 dpi in Adobe Acrobat XI?
How do I create a pdf file that is 300 dpi in Adobe Acrobat XI?
PDF files do not have a "resolution" - they aren't images. The pages are a mix of vector art and text, and raster (pixel-based) graphics. The raster items on a page can (and often do) have different resolutions.
Maybe you are looking for
-
ok it's not a question, it's an howto. You do it at your own risk. No failure reported so far, but I'm not responsible for anything. If you try to multiboot your MacBook Pro (MBP hereafter) you may face a new complexity. With on partition, Bootcamp d
-
FLEX CODE <?xml version="1.0" encoding="utf-8"?> <mx:Application xmlns:mx=" http://www.adobe.com/2006/mxml" layout="absolute" applicationComplete="http.send()"> <mx:Button x="197" y="198" label="Button" click = "testing()"/> <mx:Script> <![CDATA[ pub
-
Hi All I'v added a matrix to a form and now I need to select a row (in order to be able to delete it later)... This is done with the following code (C#) in an click-event on the matrix. Matrix m = (Matrix)matrix_item.Specific; int row = pVal.Row; m.S
-
Does anybody know how many hours take backing up a database with 200GB of data with RMAN? What do you think is the more efficient way for baking up 200Gb of data? Thanks
-
MINOR CODE PROBLEM WITH AXIS,EJB,WSAD,WEBSPHERE
Hi All, I am using below environment client side ANT + Sun 1.4.2 JRE JIBX (DE)SERIALIZERS, JIBX BINDING AXIS 1.2 RC2 STUBS server side JIBX (DE)SERIALIZERS, JIBX BINDING AXIS 1.2 RC2 JIBX BETA 3D WSAD 5.1.2 WEBSPHERE 5.0 Test Environment Basically I