question on TFileStream (Inno Setup)

I'm using Inno Setup for the first time and just a beginner in Pascal.My code:XMLHTTP := CreateOleObject('MSXML2.ServerXMLHTTP');XMLHTTP.Open('GET', myUrl, False);XMLHTTP.Send();...MyFileStream := TFileStream.Create(Path + MyFilename, fmCreate or fmOpenWrite);But,I don't know how to use MyFileStream ...

LoadLibrary with Short Path & Execute EXE with long path

I have encountered a very strange situation. I have an MFC EXE developed using VC2008 that simply displays a dialog with a "Show Dialog" button. When I click on "Show Dialog" button, it shows another model dialog that comes from an MFC Extension DLL. The Extension DLL is loaded i ...

Inno setup question

I have created a setup script for my application using inno setup.one of the dlls of my application is a COM dll that needs to be registered using regsvr32where do i put it in the inno script? under what section? what is the command? what are the parameters? ...

Inno Setup and DLL

I am new to dealing with dlls and installers. I have a project where I am using Inno Setup over InstallShield and I need to create a dll that does application specific processing. I have been experimenting with Inno Setup and their sample files and I understand how it works. My problem lies in the d ...

Inno Setup Questions

I'm creating an installation program using Inno Setup and I have all the custom install pages made but I need to know how to set whether or not a component will be installed. Normally there's a premade page which allows the user to select which components will get installed and which won't but I wan ...

Off topic: Inno Setup & wxPython

I don't know where to post it in Daniweb, but since I'm used to Python forum, I hope someone will help me here. Advices of as to where I should post this are valid!I have made a project, compiled it with py2exe and packed fine with Inno setup. The setup installs fine and adds both desktop and start ...

Script installation builder or software installer (Inno setup alternative) for Linux

do you know an Inno setup alternative that install by script software or execute bash scrit inside?It will be use in Linux environment... ...

desktop icon in inno setup

Could anyone plz tell me how to add desktop icon on request. I'm using Inno Setup. My code is,Name: "{userdesktop}\S/W [S/W-VERSION]"; Filename: "{app}\S/W.exe"; WorkingDir: "{app}"; Tasks: desktopicon singleuserName: "{commondesktop}\S/W [S/W-VERSION]"; Filen ...

[inno setup] Pascal and Delphi Syntax Error?!

This is the code section from inno setup.My intention is to make two Checkbox where at a time one is being selected.But this code return error.[code] procedure CheckBoxOnClick(Sender: TObject);varBox2,CheckBox: TNewCheckBox;beginif CheckBox.Checked thenCheckBox.State := cbUnchecked;Box2.State := cbC ...

Inno setup : how can I add this feature?

I use Inno Setup from www.jrsoftware.org to install software onto computers. It's easy to use and works great.I installed software from the web that had the exact same appearance as Inno Setup. It also had the feature that when viewing the license agreement, it had 'I accept' and 'I do not accept' a ...

Doc icon conflict between apps with same short path name.

If I create a project, called MyApplication1.exe in the C:\MyApplication1 directory and edit the document icon and then associate a file extension with it the documents will use the icon in the resource editor. I can then delete the project and executable and edit the registry to remove its doc type ...

Short path/Long path - How the OS decides which form to use?

When setting a windows hook on some API functions, for example "CopyFile", I noticed that on some computer the file names parameters in the function are retrieved by their short path form (like: "C:\PROGRA~1\...") and on other computers, by their long path form ("like: ...

Icon conflicts between 2 apps with same short path name - BUG??

If I create a project, called MyApplication1.exe in the C:\MyApplication1 directory and edit the document icon and then associate a file extension with it the documents will use the icon in the resource editor. I can then delete the project and executable and edit the registry to remove its doc type ...

Add icon with Inno Setup

With Inno Setup, I can create an icon for the Uninstaller because in the wizard, he ask for it.But not for the program himself once it's on your desktop.How can I add it?[Tasks]Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons ...

Inno Setup

I came accross the Inno Setup program last night and have been trying to figure out how to best use it. It works great. My only concern is how to properly install the MDAC and DCOM if it is not currently installed on the user's PC. In other words, I would like for these components to be installed if ...

setup software - inno setup

does any one worked with inno setup?i have few doubts to clarify. ...

Uninstalling Files Using Inno Setup

I have created a database application in vb.net and I am using Inno Setup to deploy the application. I am ditributing the usp10.dll file along with my app and copy the dll in the application installation directory during installation. But when I uninstall the application, usp10.dll does not get unin ...

Inno Setup

This question might not be expected on this forum.Still I am posting it because I did not find any other forum to post it. I have developed a database application in vb.net 2005 and created a setup project using Inno Setup version 5.1.9. I am deploying MDAC 2.7 along with this setup.When the setup t ...

Inno Setup

This is not the forum to post such questions:But I came across a strange problem...I am packaging my application written in vb.net using Inno Setup.But I came across a strange problem when I executed my script.I am attaching a sample inno set up script,but not the original one.In this script the Che ...

Inno setup script ... need help

I need help with Inno setup script. Generally I have some files to install in [Files] section. But I need to have ability to decide what files from that section will be installed during the installation process.For example I have some simple test function in [code] section and on base of its result ...

Short path-time dependent edge length

i am looking for a Short path algorithm with time dependent edge length; research in this subject seems to be active, i am looking to implement it in a program so i am looking for something simple enough, any ideas? (links, libraries, description)? ...

[inno setup] Pascal and Delphi Syntax Error?!

This is the code section from inno setup.My intention is to make two Checkbox where at a time one is being selected.But this code return error.[Code]procedure CheckBoxOnClick(Sender: TObject);varBox2,CheckBox: TNewCheckBox;beginif CheckBox.State = cbChecked then ///error:"Could not call proc ...

Doubt in Inno Setup

I want to create a msi for my exe.So i choose inno setup software.Through this software i could specify the supported files, registry entries to be created and all by wrote the script.But i want to chech the existance of one registry key and act depends upon the result.Can anyone tell me how to ache ...

Install from URL in Inno Setup

I want to include a command in my Inno Setup script which automatically would check if the machine has a .NET 2.0 framework installed and if not it would install it.Any ideas how to achieve this? ...

Inno Setup for Encryption

I am new to using the inno setup. I wanted to encrypt the files inside the installer. For example , A jpeg or a text file which gets installed in the destination folder. Now I want to hide it from the user. So the user should not be able to view any file in windows explorer.I tried using the Encrypt ...

Inno setup ... need help

I need help with Inno setup script. Generally I have some files to install in [Files] section. But I need to have ability to decide what files from that section will be installed during the installation process.For example I have some simple test function in [Code] section and on base of its result ...

Inno Setup

I am a newbie in using InnoSetup.What I have to do is only delete a specific folder if the user confirms "Yes" to a pop up message while uninstalling my application. How to incorporate this into the Inno Setup script.Thanx in advance. Any suggestions, links, and code snippets would be grea ...

How to add PATH in setup-project?

While installing my software, I need to read a value from the registry (the install-location of another application, which DLLs are needed) and add it to the PATH-Variable auf all Users. What do I have to do in my setup-project to accomplish this? ...

long path to short path

how to convert long path to short name path before passing the path name to a binary executable i.e in test.exe $TargetPath in a custom build command line ...

Inno setup creation

HeyIm using Inno to create a setup file.What I want to do is for the setup program to go through the folders. Each of these folders would represent a component. So if a folder is present you should be able to select it,as a component, under the component. The component ie exe file to be executed ond ...

Inno setup: languages section

Sorry for my english...I hope this is the correct forum to post this. If not, sorry in advance. I'm trying to make a setup that will choose automatically the language (at start) depending on the result of GetUILanguage.I made this function in [Code] section:Function SetLanguageFile(Param: String): S ...

Ubuntu short path on command line

I have a quick question: how can I make the path short on the console? My problem is that if I descend 10 levels in a directory tree, the path becomes so long that it takes more, than one line of the console window. Is there a way to shorten it, and show only the name of the current directory, witho ...

[inno setup] How to Do this?

To make my question fully understandable to you i attach an image demonstration.Please see this:http://i39.tinypic.com/ruzona.jpgWell i developed my software,after finishing installing i want to show a window like in the image(from Bitcomet 1.19).But that software is built on NSIS and mine on INNO. ...

Inno Setup

Any ideas on how one would force inno to include folders without extracting the data to the program folder, in other words I have support data for my pygame in various folders, the exe I made works fine but when I install the .exe inno takes all the data out of the folders, deletes the folders and d ...

Short Path --> Long Path on Win95

how can I convert a short pathname into a long one. I know that there is the GetLongPathName() API function, which can be used on Windows 98 and Windows 2000. But what about NT4 and Windows 95?! ...

[inno setup] How to Do this?

To make my question fully understandable to you i attach an image demonstration.Please see this:http://i39.tinypic.com/ruzona.jpgWell i developed my software,after finishing installing i want to show a window like in the image(from Bitcomet 1.19).But that software is built on NSIS and mine on INNO. ...

short path algorithm

Hello, I currently have a program that detects the shortest path by using breath first search. Currently my program reads a file like this.A HA DA JJ DJ KJ EF HF DF BK BB IG I G KC EK IE KThis works just fine because every road is connected at some point. So if I type A to I it would give me A J K I ...

Urgent: Install and App Path problem

I've set up an install programme using INNO setup and installed my programme onto a different machine to the one I created it on.When my install finishes I am asked if I would like to launch the programme and I say yes. The programme then functions as desired.When I close the programme and then re-o ...

setup.lst

I'm not sure why this is happening when I use the Package and Deployment Wizard that VB6 has...but everything was working ok, but then I decided towork from another subdirectory on my harddrive...I set the project nameand app name in VB6 to correspond to the new directory...I also changedall other r ...

Problem with SetUp

In my VC++ application I have created the Setup with the help of Inno Setup and I have changed the WinHelp to HtmlHelp. But when I insert the help files in the Inno Setup and compile,then on running the Setupthe Help topics does not runs. Help Please ...

GetShortPathName for Unicode Path longer than MAX_PATH

Problems using GetShortPathNameI'm using the UNC prefix for the Path:'\\?\unc\heathers-bill\D$\aFileWithALongName.exe'GetShortPathName returns 0 & using GetLastError() returns the error 'The filename, directory name, or volume label syntax is incorrect. ' even though Windows Explorer can access ...

Product Key template and Its validation In Setup

I am going to create a setup for Windows Application using C#.net.I have ProductKey and Its validating Exe also.I need to integrate this product key and validate it in the Application setup itself.Please help me to do in Inno setup Wizard.Anybody knows it please give step by step Instruction for me. ...

problem with packaging using Inno..

does anyone know how to package active-X controls using the Inno setup program? the program packages fine and i can run it...but when i get to a window that has an active-X control on it, it just won't load up. no errors or anything. thx in advance.. ...

.NET Framwork needed when doing a setup.exe of a project

HelloI have compiled a project and are now doing a setup of this using the software "Inno Setup Compiler"What I wonder is this:This project that I am doing a setup of is done in Visual C++ 2008 Express Edition.Now if the user doesnt have the .NET Framework 3.5 on the computer, this softwar ...

help to create setup for java swing application

everyone! i need to create setup for my java swing desktop application. I have searched in google and found a software to create a setup file. it is called INNO SETUP. But i tried to use it and but no any succeess. please help me in this regard. please clear my doubts that whether i can use it to ma ...

dos path

How to get short path name (dos path)? For example, c:\program files\test, in dos, the path is c:\progra~1\test. I need a function likechar *getDosPath(char *longPathName) ...

How to solve the long filename/path in ListBox?

I use ListBox function Dir(...) in VC5.0,but it display a short path/filename. How to solve this problem to display long path/filename? ...

Setup Project in Visual Studio

After I built a Setup project, 2 files (setup.exe and setup.msi) would be created. Is there a way to change the version, description and copyright information of that setup.exe file? Right now they're all tied to Microsoft.From my own research, I suspect that you can change it only if you use other ...

Copy several files to one file with 32-bit path/filename

What is the best way to copy several ascii files?Currently I shell to dos and use the copy command:copy file1.txt+file2.txt+file3.txt=file4.txtThe problem is that I have to convert the path/filenames to short names in order the shell to dos.Is there another method where I can pass the full path/file ...

Problem with .Net Framework 2.0 setup

I have developed an application in vb.net/ms access.I am distributing the .Net framework along with my application.When I install the application on a machine , the .Net frame work Repair window appears and does the repairing, and after repairing the installation proceeds.This problem was not there ...