Hi all,
I've been using Installaware for a year now and have build many installers along the way. While this one appears to be simple, I cannot for my life get the batch file to run correctly. The installer is to deploy a few files into the application folder and at the end of the install, run a batch file to register assembly and import registry settings. At the end of the script, I can see the batch file run but does not perform the actions. If I run the batch file manually, everything runs fine. I've attached the project here and along with my batch file. Any ideas what I'm doing wrong?
Batch file does not run properly
-
- Posts: 7
- Joined: Fri Mar 30, 2012 11:40 am
Batch file does not run properly
- Attachments
-
- RegisterIntelliport.rar
- (320 Bytes) Downloaded 341 times
-
- IntelliportAddon.rar
- (479.08 KiB) Downloaded 344 times
-
- Site Admin
- Posts: 5361
- Joined: Sun Aug 22, 2010 4:28 am
Re: Batch file does not run properly
Dear User,
I will have a look at your project ... I will be back as soon as possible.
Regards
I will have a look at your project ... I will be back as soon as possible.
Regards
Francesco Toscano
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
-
- Posts: 7
- Joined: Fri Mar 30, 2012 11:40 am
Re: Batch file does not run properly
Did you find any issues with the project?
-
- Site Admin
- Posts: 5361
- Joined: Sun Aug 22, 2010 4:28 am
Re: Batch file does not run properly
Dear User,
Unfortunately, the project you posted doesn't contain the files required to build it.
If you don't want to post them on the forum, use; support@installaware.com
Anyway, I have noticed that your batch file verifies if the target OS is a x64 platform, but your project only targets x86 OSes.
I'm wrong?
Let me know.
Regards
Unfortunately, the project you posted doesn't contain the files required to build it.
If you don't want to post them on the forum, use; support@installaware.com
Anyway, I have noticed that your batch file verifies if the target OS is a x64 platform, but your project only targets x86 OSes.
I'm wrong?
Let me know.
Regards
Francesco Toscano
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
-
- Posts: 7
- Joined: Fri Mar 30, 2012 11:40 am
Re: Batch file does not run properly
The batch file merely checks if "Program Files (x86)" exists which helps easily identify whether the software was installed on a 64bit or 32bit OS and therefore points to the right directory (note: they are 32bit apps). I can run this batch file manually after the install and it is processed correctly. I've attached the files here. Let me know if you need additional info or files.
-
- Posts: 7
- Joined: Fri Mar 30, 2012 11:40 am
Re: Batch file does not run properly
For some reason, it will not let me upload it here so I've uploaded it YouSendIt.com
https://www.yousendit.com/download/UVJq ... WUlQWWNUQw
Let me know if you have any trouble downloading the files.
https://www.yousendit.com/download/UVJq ... WUlQWWNUQw
Let me know if you have any trouble downloading the files.
-
- Site Admin
- Posts: 5361
- Joined: Sun Aug 22, 2010 4:28 am
Re: Batch file does not run properly
Dear User,
I just verified your package and it worked fine with my verification.
I tested the package using WIN 7 x86, with Net 2.0 & 3.5 runtimes installed.
As you can see by the following screen-shots;
1# the CMD window of the executed BAT file once the installation has been completed.
2#... and also the registry entries are correctly added to the target registry.
Just a note; use the "RegAsm.exe" already available on target OS insted of adding it to your installation files.
The tool is available on target system under the Net framwork version folder.
For example for Net 2.0 is; C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\RegAsm.exe
Regards.
I just verified your package and it worked fine with my verification.
I tested the package using WIN 7 x86, with Net 2.0 & 3.5 runtimes installed.
As you can see by the following screen-shots;
1# the CMD window of the executed BAT file once the installation has been completed.
2#... and also the registry entries are correctly added to the target registry.
Just a note; use the "RegAsm.exe" already available on target OS insted of adding it to your installation files.
The tool is available on target system under the Net framwork version folder.
For example for Net 2.0 is; C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\RegAsm.exe
Regards.
Francesco Toscano
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
Who is online
Users browsing this forum: No registered users and 77 guests