InnoScript problem

Started by divined, September 13, 2005, 01:28:26 AM

Previous topic - Next topic

divined

Nonetheless, there has been a slight problem. I`m using Crystal Reports in my application and not all necessary dependencies seem to have been included in the InnoSetup installation package. I`ll check and see if I`m doing something wrong!

admin

divined,
 
Yes you add it to the Run section. Just add it before the other program.

divined

Can I add it the Run section as I did with the Initializer? That would constitute the simplest solution!

admin

divined,
 
You can use a regular editor or use Inno Setup to edit your script.}

divined

and how can I add this to the script directly?

admin

divined,
 
You can alway add to the script directly. It just depends on how you want to maintain how you can to the script in the first place and if you can recreate it.

divined

I copied the necessary files to another directory and now it works. I would like to add the Auto OS updater to the installation nonetheless.  
 
Can I add this to the script directly or do I need to re-run InnoScript?

admin

divined,
 
No. the files are good as I stated. Just run the pjt file and recreate the iss file on your computer.
 
Please refer to the documentation on the Windows directory issue. There are several ways to handle that situation.

divined

One other thing. I took the iss file that you sent me and gave it as input to InnoSetup. Unfortunately, when I try to compile it I get the error :  
 
Attempt to deploy DLL file from own Windows directory. I get this for MSBIND.BLL, CAPICOM.DLL and a few others. Should I add these files to the unsafe.fil and then re-create the iss file as you stated?

admin

divined,
 
You can just use the files I posted. the pjt and the unsafe.fil file.

divined

Does that mean that you have changed something in the project file as well? Or can I use the pjt I have and the unsafe.fil you sent me and be set.

admin

divined,
 
1 - Run InnoScript
2 - Check the Debug Log for files that have a lot of dependencies or known programs that should not be re-distributed and place those file names in the unsafe.fil list.
3 - Re-run innoScript.
4 - Repeat until you get a managable Script.
 
Basically all you have to do is use the pjt and unsafe.fil that I send to you. Everything will be taken care of for now.

divined

Could you also tell me the exact steps you followed in order to create this iss file? I might alter my executable a bit and would not want to oblige you again!
 
thx, once again!

divined

ok. thanks, for your time & help. I`ll check it out and get back to you later!

admin

divined,
 
Here is your iss file with only 3 files missing. Excel.exe had to be added to the Unsafe.fil list. I have included the unsafe.fil, pjt and iss in the upload.