rajeshkumar created the topic: Create a txt file using batch file in a specific folder
This creates a file containing a blank line (CR + LF = 2 bytes).
If you want the file empty (0 bytes)
Twitt me @ twitter.com/RajeshKumarIn
msiexpert created the topic: Registering DLLs and MergeMod in batch mode
I moved to Windows 7 from WinXP and try to build my product on the new platform.
I have several DLLs, which are auto-registered during setup, using ‘Extract registration info from native library’ option with Synchronization at Buildtime.
When I run Advanced installer in normal mode, it build the package without errors, but DLLs are not registered.
When I run it in ‘Run as administrator’ mode they are registered correctly, but then I have another problem.
When I build the package via command line: AdvancedInstaller.com /build myproduct.aip
I’m receiving the following error:
‘Exception – You do not have MergeMod COM server installed on your computer. Please read in Help how to install it.’
I’ve installed all possible SDKs, tried to register several different versions of mergemod.dll (they registered successfully), but nothing helped.
1. Do I really have to run AI in administrative mode?
2. How can I force it work in batch mode?
Batch Program to Shutdown and restart the computer.
D:\Temp\tmp\SHUTDOWN.EXE /L /R /Y /C
echo offd:\tmp\SHUTDOWN.EXE /L /Y /C
Batch Script to login to perforce and sync the source code to specific location
@echo offcd /d “E:\Development\AnthillPro\work\perforce\SEABU\Module\Features1”
“p4” -c SYSTEMBUILDSTAR -p 10.0.0.3:1666 -u UserName -P UserPass sync //SEABU/Module/Features1/… //SYSTEMBUILDSTAR/Module/Features1/…
Login perforce server using local client through batch script @echo off
p4 -p10.0.0.3:1666 –uUser_Name -P”User_Pass” -c”PERFORCE_CLIENT” client –o
-p à Server Address
-u à User Name
-P à Password
-c à Client Name
-o à Write the client specification to standard output an editor.
10.0.0.3:1666 à ServerIP:Port
User_Name à User Name
User_Pass à User Password
PERFORCE_CLIENT à Perforce Local Client