View forum topic
List of forum topicsSubject: C:\Program Files Two times...
Hello,
I have the following problem: in a Windows 7 x64, I have the folder C:\Program Files and the C:\Program Files (x86) but when I run my application installer (installer created CreateInstall course ), this I create a second folder called C:\Program Files.
That is, at the end of its run the installer, I have the following folders:
C:\Program Files
C:\Program Files
C:\Program Files (x86)
Any idea?
Best regards,
Dani
Send us your .ci project file with 'CreateInstall' subject.
I think one or some letters are different in your two C:\Program Files. Do you have English Windows 7 and English installation?
I've one spanish installation... the problem is that I can see C:\Archivos de programa, but when y go to the tree view, y see C:\Program files...
In the .ci project, you can see that I've fixede the installation in C:\Archivos de programa, but now I'm trying with this: $progfiles$\Zyncro\Widget, but it do the same efect...
Maybe the variable is not working right in these point...
Specify Project - Settings - Installation Path as
#progfiles#\Zyncro\Widget
$progfiles$ is Program Files folder on your
computer.
I just try it, but it doesn't work fine...
i don't know why, but teh installer create another folder, and when finished, I've three folders...
C:\Archivos de programa, (really is C:\Program Files)
C:\Archivos de programa (x86), (really was C:\Program Files (x86))
C:\Archivos de programa
Remember that I'm trying in one Windows 7 Ultimate x64.
Any idea about what can i do?
Best regards,
Dani
What files were installed into those three folder?
Send me uninstall.ini file from your installed
application.
Go to the each those Archivos de programa folders
and find what subfolders and files were installed.
Also, try to create a simple installation project. will it have the same problem?
Dear Alexey,
Finally, with this .bat file I fix the problem...
Now, I must run this just at setup process start, and by this way I'm sure that all is correct I the computer when I'm running my setup.
Do you have any trick for do this by easy way?
Thank for all your support.
Best regards,
Dani
BAT FILE CONTENT
@echo off
setlocal
cls
echo ----------------------------- BEGIN -----------------------------
set xFPName=C:\Archivos de programa
set xFPDestNew=C:\Program Files
echo Making new Junction...
mklink /J "%xFPName%" "%xFPDestNew%"
::echo Changing permissions:
::icacls "%xFPName%" /deny everyone:(RD) /L
::icacls "%xFPName%" /setowner SYSTEM /L
::echo Changing attributes:
attrib +S +H +I "%xFPName%" /L
set xFPName=
set xFPDestNew=
echo ------------------------------ END ------------------------------
January 16, 2025 Installer CreateInstall 8.11.1 was released.
June 19, 2024 Installer CreateInstall 8.11.0 was released. read more
November 13, 2022 Installer CreateInstall 8.10.1 was released.
May 21, 2022 Installer CreateInstall 8.10.0 was released.
September 25, 2021 Installer CreateInstall 8.9.0 was released.
July 15, 2021 Installer CreateInstall 8.8.1 was released.